Java Build Path Projects [message #159954] |
Thu, 09 February 2006 15:46  |
Eclipse User |
|
|
|
I am stuck, I have a Web Service project that I created from a WSDL file.
I generate the client JSP and run it and I get the expected result back
w/o adding any code.
I want to add a reference in the project to call code within another
project within the same work area. I goto properties->Java Build
Path->Projects, hit the add button, and select the desired project from
the list.
I then goto properties->Project References and check the project that I
want to reference.
I add the code in the project_nameSoapImpl.java file to reference the code
in the other project. It generates the import statement for the code
within the other project, so I know that it is recognizing the other
project.
Then I launch the JSP client and call the same service that I had called
before. The code runs find until it tries to instansiate an instance of
the referenced project class. I then get a exception:
java.lang.NoClassDefFoundError error message, that states that it cannot
find the org/bass/processing/SessionSupportServices. However, it placed
the import statement within the .java file when I added the code (import
org.bass.processing.SessionSupportServices;" and did not produce any
errors.
I am at a loss, it recognizes it when I am editting the code but not when
I run the test.
Also, I had this running before I upgraded to JDK 1.5, Tomact 5.5.15, and
Axis 1_2_1. I am currently running Eclipse 3.1.
I updates these files because I wanted to be able to use the enum that was
included in JDK 1.5. This created a issue with the Axis package names, so
that is why I updated those.
I appreciate any help or insight into this that you can provide.
Thanks,
Ben
|
|
|
|
|
|
|
|
|
Re: Java Build Path Projects [message #160587 is a reply to message #160201] |
Mon, 13 February 2006 11:20  |
Eclipse User |
|
|
|
There was an issue with my version of Eclipse that I was running. I can't
explain but once I created a new version of of Eclipse:
Eclipse 3.1.1 with WTP 1.0 (all in one download and extract) I had no
problems.
Thanks for the support and help provided by everyone,
Ben
|
|
|
Powered by
FUDForum. Page generated in 0.04905 seconds