Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Can't add Web App Libraries
Can't add Web App Libraries [message #159018] Sat, 04 February 2006 16:14 Go to next message
Eclipse UserFriend
Originally posted by: jaschulz.wiseware.com

I want to add the Web App Libraries to my project, but when I click on
Build Path, and then Configure Build Path, then choose the Libraries tab
and finally click on Add Libraries I see this:

JRE System Libraries
Plug-In Dependencies
Standard Widget Toolkit (SWT)
User Library
Web App Libraries

In the dialog, the User Library item is highlighted. If I move the
highlight down to Web App Libraries and click the "Next" button, nothing
happens, and the following:

java.lang.NullPointerException org.eclipse.ui
Unhandled eventloop exception org.eclipse.ui

I am running:

Eclipse 3.1.2
Web Standard Tools 1.0
Win XPPro SP2

Thanks,

JAS
Re: Can't add Web App Libraries [message #159027 is a reply to message #159018] Sat, 04 February 2006 21:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

James A. Schulz schrieb:
> I want to add the Web App Libraries to my project, but when I click on
> Build Path, and then Configure Build Path, then choose the Libraries tab
> and finally click on Add Libraries I see this:
>
> JRE System Libraries
> Plug-In Dependencies
> Standard Widget Toolkit (SWT)
> User Library
> Web App Libraries
>
> In the dialog, the User Library item is highlighted. If I move the
> highlight down to Web App Libraries and click the "Next" button, nothing
> happens, and the following:
>
> java.lang.NullPointerException org.eclipse.ui
> Unhandled eventloop exception org.eclipse.ui
>
> I am running:
>
> Eclipse 3.1.2
> Web Standard Tools 1.0
> Win XPPro SP2
>
> Thanks,
>
> JAS

The Web App Library classpath container is just a container that
represents the libraries in WEB-INF/lib. Copy required libraries into
WEB-INF/lib and they will be in Web App Library classpath container.

Kind regards,
Daniel
Re: Can't add Web App Libraries [message #159035 is a reply to message #159027] Sun, 05 February 2006 07:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jaschulz.wiseware.com

Daniel,

I am very new at this. I am working with the example source code from
the book Learning Java 3rd Edition, and I want to add the WST to the
source because at the moment the compiler is complaining that it cannot
find javax.xml.bind (which I presume if found in WST). Can you explain
to me how I shoult add WST?

Thanks,

JAS

Daniel Rohe wrote:
> James A. Schulz schrieb:
>> I want to add the Web App Libraries to my project, but when I click on
>> Build Path, and then Configure Build Path, then choose the Libraries
>> tab and finally click on Add Libraries I see this:
>>
>> JRE System Libraries
>> Plug-In Dependencies
>> Standard Widget Toolkit (SWT)
>> User Library
>> Web App Libraries
>>
>> In the dialog, the User Library item is highlighted. If I move the
>> highlight down to Web App Libraries and click the "Next" button,
>> nothing happens, and the following:
>>
>> java.lang.NullPointerException org.eclipse.ui
>> Unhandled eventloop exception org.eclipse.ui
>>
>> I am running:
>>
>> Eclipse 3.1.2
>> Web Standard Tools 1.0
>> Win XPPro SP2
>>
>> Thanks,
>>
>> JAS
>
> The Web App Library classpath container is just a container that
> represents the libraries in WEB-INF/lib. Copy required libraries into
> WEB-INF/lib and they will be in Web App Library classpath container.
>
> Kind regards,
> Daniel
Re: Can't add Web App Libraries [message #159044 is a reply to message #159035] Sun, 05 February 2006 12:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jaschulz.wiseware.com

Daniel,

I didn't ask my question correctly. javax.xml.bind belongs to the java
web services developer pack. What I need to know is how I can make the
libraries of the jwsdp part of my project.

Thanks,

JAS

James A. Schulz wrote:
> Daniel,
>
> I am very new at this. I am working with the example source code from
> the book Learning Java 3rd Edition, and I want to add the WST to the
> source because at the moment the compiler is complaining that it cannot
> find javax.xml.bind (which I presume if found in WST). Can you explain
> to me how I shoult add WST?
>
> Thanks,
>
> JAS
>
> Daniel Rohe wrote:
>> James A. Schulz schrieb:
>>> I want to add the Web App Libraries to my project, but when I click
>>> on Build Path, and then Configure Build Path, then choose the
>>> Libraries tab and finally click on Add Libraries I see this:
>>>
>>> JRE System Libraries
>>> Plug-In Dependencies
>>> Standard Widget Toolkit (SWT)
>>> User Library
>>> Web App Libraries
>>>
>>> In the dialog, the User Library item is highlighted. If I move the
>>> highlight down to Web App Libraries and click the "Next" button,
>>> nothing happens, and the following:
>>>
>>> java.lang.NullPointerException org.eclipse.ui
>>> Unhandled eventloop exception org.eclipse.ui
>>>
>>> I am running:
>>>
>>> Eclipse 3.1.2
>>> Web Standard Tools 1.0
>>> Win XPPro SP2
>>>
>>> Thanks,
>>>
>>> JAS
>>
>> The Web App Library classpath container is just a container that
>> represents the libraries in WEB-INF/lib. Copy required libraries into
>> WEB-INF/lib and they will be in Web App Library classpath container.
>>
>> Kind regards,
>> Daniel
Re: Can't add Web App Libraries [message #159081 is a reply to message #159044] Sun, 05 February 2006 21:40 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

James A. Schulz schrieb:
> Daniel,
>
> I didn't ask my question correctly. javax.xml.bind belongs to the java
> web services developer pack. What I need to know is how I can make the
> libraries of the jwsdp part of my project.
>
> Thanks,
>
> JAS

Are you talking about a web application project or about an Eclipse
plug-in project? If you want to add the libraries from JWSDP to a web
application project then create a new "Dynamic Web Project" in Eclipse.
This project contains a WEB-INF directory. Copy the required libraries
from JWSDP into WEB-INF/lib directory. Then the WTP will add them
automatic to the classpath of your "Dynamic Web Project".

Kind regards,
Daniel
Previous Topic:xml.build question
Next Topic:How does webapp deployment works?
Goto Forum:
  


Current Time: Thu Apr 18 08:22:56 GMT 2024

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

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

Back to the top