Learning Java 3 [message #132751] |
Sat, 28 January 2006 09:24  |
Eclipse User |
|
|
|
Originally posted by: jaschulz.wiseware.com
I am trying to install the eclipse examples from Learning Java 3 and
everything works fine except for the code from Chapter 24 (XML). The
compiler complains that javax.xml.bind "cannot be resolved". What do I
need to do to deal with this error?
Thanks,
JAS
|
|
|
|
|
|
Re: Learning Java 3 [message #132952 is a reply to message #132879] |
Sat, 28 January 2006 17:07   |
Eclipse User |
|
|
|
Originally posted by: jaschulz.wiseware.com
Jeff,
If I right click on the project and choose "Properties" and then "Build
Path" (in the Properties Dialog), and then the "Libraries" tab, and then
click "Add Library...", I see:
JRE System Library
Plug-in Dependencies
Standard Widget Toolkit (SWT)
User Library
Web App Libraries
If I highlight "Web App Libraries" (I am presuming that is what I am
supposed to do), and click "Next", nothing happens! The "Finish" button
is not enabled, nothing happens at all.
So what do I do now?
Thanks,
JAS
Jeff Myers wrote:
> Doubtful, it shows up in the API listing for jwsdp-2.0 as well:
> http://java.sun.com/webservices/docs/2.0/api/index.html
>
> You're sure you added the jwsdp libraries to your Eclipse project? The
> Eclipse project doesn't pick up project settings from an ant build file
> (build.xml). It may build ok, but won't show up properly in the Eclipse
> editor unless its added to the project.
>
> Hope this helps,
> - Jeff
|
|
|
|
|
Re: Learning Java 3 [message #133898 is a reply to message #133304] |
Wed, 01 February 2006 09:29   |
Eclipse User |
|
|
|
James,
I don't think jwsdp is included in the Eclipse Web Tools Project (but I
could be wrong). You'll have to download the Java Web Services
Developer Pack from Sun's website: http://java.sun.com/webservices/
Unzip the download somewhere on your system, within it there should be
one or more jars. Add these jars to your project using the process I
described earlier.
- Jeff
James A. Schulz wrote:
> Jeff,
>
> I'm sorry to be so thick-headed about this but I'm a beginner...
>
> What I have is:
>
> wpt-all-in-one-sdk-1.0-win32.zip
>
> which, as you imagine is huge. There are more than 50 folders under
> "plug-ins". None of these is marked "jwsdp". Can it be that I don't
> actually have the jars I need? If so, what download do I need besides
> the above?
>
> Thanks
>
> JAS
>
>
> Jeff Myers wrote:
>> Start over. Select the project, bring up Properties->Java Build
>> Path->Libraries and select Add External Jars... Select the jar files
>> included in your jwsdp download. You can also create a lib folder in
>> your project, copy in the jars, and use Add Jars... to select them there.
>>
>> Hope this helps,
>> - Jeff
|
|
|
|
Powered by
FUDForum. Page generated in 0.10209 seconds