Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Web App Libraries
Web App Libraries [message #156938] Tue, 17 January 2006 16:49 Go to next message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
I am running Eclipse 3.1.1 with WTP 0.7 and I have found an odd occurence
when generating a Web Service.

I have an existing Web Service project that I have checked into CVS. I
checkout the service because the WSDL files that were used to create the
Web Service have changed and the project needs to be updated.

I then delete the old WSDL files from the WebContent and WebContent.wsdl
folders. I delete the old source code from the JavaSource directory.

I then inport the new WSDL files into the WebContent directory, selecct it
and create a new Web Service from the imported WSDL file. It creates a
WSDL in the WebContent.wsdl directory and the 6 java source files in the
JavaSource directory.

Now I get an error message that I have never gotten before when generating
the Web Services: In the sourceSoapStub.java file
org.apache.axis.constants cannot be resolved error. Nothing has changed
between the old Web Service and the new one, the build path is still the
same.

I did a little more research and found that in the Web App Libraries
directory there were new jar files placed in there. However, there seems
to be an inconsistency, it looks like it added a wsdl4j-1.5.1.jar file but
it didn't delete the wsdl4j.jar 1.1. file that had existed before. There
are other files that it looks like it added updated versions without
deleting the old versions.

This seems to be the cause of the issue because if I delete the Web App
Libraries directory and the import external jar files and import the Web
Apps jar files from the Apache Axis file path (newer version) the errors
go away. Howver, I don't like doing it this way because the files are
not organized into a Web App Library, and if I try to import a new library
for this I don't get anything.

Can someone please provide a solution and/or explenation as to what is
going on and if there is a procedure to correct this?

Thanks,
Ben
Re: Web App Libraries [message #157008 is a reply to message #156938] Tue, 17 January 2006 20:19 Go to previous message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
I found the extra *.jar files in the WebContent/WEB-INF/lib directory of
my project if I look at it through Windows Explorer. If I delete the
duplicate *.jar files then the errors go away.

Again, I don't think this is the most efficient way of doing this. I
would be currious as to why these new files were added to this directory
when I ran the create new Web Services from the new WSDL file? Also,
where does it pull the new *.jar files from? Which directory etc...?

I hope this is useful information and would appreciate any insight that I
can get.

Thanks,
Ben
Previous Topic:Adding taglibs to a project
Next Topic:Pilot Participants Needed: Eclipse WTP Usage Study
Goto Forum:
  


Current Time: Sat Apr 27 04:37:40 GMT 2024

Powered by FUDForum. Page generated in 0.03463 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top