web service error
Asked Answered
C

3

9

i am trying to make web service but i am getting this error

IWAB0506E Error when copying Axis jar files to web project
    java.io.FileNotFoundException: /lib/saaj.jar
    at 
Crissie answered 20/4, 2011 at 13:56 Comment(0)
W
9

Looks like a bug in eclipse WTP - you're not alone.

Following this other thread, you be lucky with deleting (moving/renaming) one library:

javax.xml.soap_1.3.0.v200904281458.jar

Or try to upgrade your environment to the latest and greatest.

Worcestershire answered 20/4, 2011 at 14:3 Comment(4)
where is the library located?Tracery
@Tracery - it depends. If you use eclipse it is in \eclipse\plugins\ folder.Duarte
This problem happened to me with a fresh eclipse j2ee Version: 2023-09 (4.29.0). The links in this answer are not valid since spring moved forums.Chrono
I was able to solve my problem with this answer #8151198Chrono
P
1

This second patch does the same thing, but instead of using a java system property, it uses a hidden eclipse preference as the flag to disable the copy.

This preference can be enabled by editing the below file

<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.ws.axis.consumption.ui.prefs

add the line disableAxisJarCopy=true

Patience answered 31/10, 2017 at 10:45 Comment(0)
E
0

Browse tho the eclipse workspace:

<workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.ws.axis.consumption.ui.prefs

Sometime, if you do not have this file created, then create this file Add the following entry and save the file:

eclipse.preferences.version=1
disableAxisJarCopy=true
Elery answered 24/2 at 13:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.