"Web App Libraries" [message #155570] |
Tue, 10 January 2006 02:37  |
Eclipse User |
|
|
|
When I launched Eclipse and opened my web app project, the "Web App
Libraries" Build path entry is empty. In other words, I see three
library icons (I think that's what the picture is) in the Package Explorer:
- JRE System Library
- Tomcat v5.5 runtime
- Web App Libraries
The first two have a little plus sign (disclosure control) to the left
and open up to show many .jar files. The "Web App Libraries" doesn't
have any plus sign or any .jar files associated with it.
All my JAR files haven't moved. They are still in
"WebContent\WEB-INF\lib". However, the Eclipse compiler no longer
includes them on the build path. This was working earlier today.
I've seen this happen before and I forgot exactly what I did to resolve
it (it wasn't simple). Any ideas?
I still see this entry in the .classpath file:
<classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container/TestJSF"/ >
|
|
|
|
Re: "Web App Libraries" [message #155707 is a reply to message #155677] |
Tue, 10 January 2006 13:29   |
Eclipse User |
|
|
|
Cary wrote:
> Tommy Vercetti said the following on 1/10/2006 1:37 AM:
>> When I launched Eclipse and opened my web app project, the "Web App
>> Libraries" Build path entry is empty. In other words, I see three
>> library icons (I think that's what the picture is) in the Package
>> Explorer:
>> - JRE System Library
>> - Tomcat v5.5 runtime
>> - Web App Libraries
>> The first two have a little plus sign (disclosure control) to the left
>> and open up to show many .jar files. The "Web App Libraries" doesn't
>> have any plus sign or any .jar files associated with it.
>>
>> All my JAR files haven't moved. They are still in
>> "WebContent\WEB-INF\lib". However, the Eclipse compiler no longer
>> includes them on the build path. This was working earlier today.
>>
>> I've seen this happen before and I forgot exactly what I did to
>> resolve it (it wasn't simple). Any ideas?
>>
>> I still see this entry in the .classpath file:
>> <classpathentry kind="con"
>> path="org.eclipse.jst.j2ee.internal.web.container/TestJSF"/ >
>
> I experienced this quite often with 0.7.1. What version are you
> running? I usually ended up removing the Web App Libraries, closing &
> reopening the project, and re-adding the Web App Libraries. A pain, but
> pretty quick to pull off once you know the solution.
>
> Cary
Sorry, I left out version details:
Eclipse 3.1.1
WTP 1.0
Java 1.5.06
Windows XP SP2
I tried restarting Eclipse, closing/opening project, and
deleting/readding to build path. None of these fix the problem.
I've seen this happen before and I don't remember exactly how I
resolved. Thanks for the reply though.
|
|
|
Re: "Web App Libraries" [message #155945 is a reply to message #155707] |
Wed, 11 January 2006 14:50   |
Eclipse User |
|
|
|
I had this too several times. Workaround: remove "Web App Libraries"
from the build path (right click and remove), then add it again: right
click, choose "configure build path", Button "add Library", select "Web
App Libraries" and choose your project.
Andreas
Tommy Vercetti schrieb:
> Cary wrote:
>> Tommy Vercetti said the following on 1/10/2006 1:37 AM:
>>> When I launched Eclipse and opened my web app project, the "Web App
>>> Libraries" Build path entry is empty. In other words, I see three
>>> library icons (I think that's what the picture is) in the Package
>>> Explorer:
>>> - JRE System Library
>>> - Tomcat v5.5 runtime
>>> - Web App Libraries
>>> The first two have a little plus sign (disclosure control) to the
>>> left and open up to show many .jar files. The "Web App Libraries"
>>> doesn't have any plus sign or any .jar files associated with it.
>>> All my JAR files haven't moved. They are still in
>>> "WebContent\WEB-INF\lib". However, the Eclipse compiler no longer
>>> includes them on the build path. This was working earlier today.
>>>
>>> I've seen this happen before and I forgot exactly what I did to
>>> resolve it (it wasn't simple). Any ideas?
>>>
>>> I still see this entry in the .classpath file:
>>> <classpathentry kind="con"
>>> path="org.eclipse.jst.j2ee.internal.web.container/TestJSF"/ >
>>
>> I experienced this quite often with 0.7.1. What version are you
>> running? I usually ended up removing the Web App Libraries, closing &
>> reopening the project, and re-adding the Web App Libraries. A pain,
>> but pretty quick to pull off once you know the solution.
>>
>> Cary
>
> Sorry, I left out version details:
>
> Eclipse 3.1.1
> WTP 1.0
> Java 1.5.06
> Windows XP SP2
>
> I tried restarting Eclipse, closing/opening project, and
> deleting/readding to build path. None of these fix the problem.
>
> I've seen this happen before and I don't remember exactly how I
> resolved. Thanks for the reply though.
|
|
|
Re: "Web App Libraries" [message #156151 is a reply to message #155945] |
Thu, 12 January 2006 09:50  |
Eclipse User |
|
|
|
I tried that and it didn't work...
This might be due to the fact that I'm using a recent daily build rather
than 1.0 since several people said that they fix many problems.
I think I'm giving up on WTP 1.0 for now and am trying both MyEclipse
and IntelliJ. I'm sure WTP will be great after they've had a few more
months to get it stable.
Andreas Voss wrote:
> I had this too several times. Workaround: remove "Web App Libraries"
> from the build path (right click and remove), then add it again: right
> click, choose "configure build path", Button "add Library", select "Web
> App Libraries" and choose your project.
>
> Andreas
>
> Tommy Vercetti schrieb:
>> Cary wrote:
>>> Tommy Vercetti said the following on 1/10/2006 1:37 AM:
>>>> When I launched Eclipse and opened my web app project, the "Web App
>>>> Libraries" Build path entry is empty. In other words, I see three
>>>> library icons (I think that's what the picture is) in the Package
>>>> Explorer:
>>>> - JRE System Library
>>>> - Tomcat v5.5 runtime
>>>> - Web App Libraries
>>>> The first two have a little plus sign (disclosure control) to the
>>>> left and open up to show many .jar files. The "Web App Libraries"
>>>> doesn't have any plus sign or any .jar files associated with it.
>>>> All my JAR files haven't moved. They are still in
>>>> "WebContent\WEB-INF\lib". However, the Eclipse compiler no longer
>>>> includes them on the build path. This was working earlier today.
>>>>
>>>> I've seen this happen before and I forgot exactly what I did to
>>>> resolve it (it wasn't simple). Any ideas?
>>>>
>>>> I still see this entry in the .classpath file:
>>>> <classpathentry kind="con"
>>>> path="org.eclipse.jst.j2ee.internal.web.container/TestJSF"/ >
>>>
>>> I experienced this quite often with 0.7.1. What version are you
>>> running? I usually ended up removing the Web App Libraries, closing
>>> & reopening the project, and re-adding the Web App Libraries. A
>>> pain, but pretty quick to pull off once you know the solution.
>>>
>>> Cary
>>
>> Sorry, I left out version details:
>>
>> Eclipse 3.1.1
>> WTP 1.0
>> Java 1.5.06
>> Windows XP SP2
>>
>> I tried restarting Eclipse, closing/opening project, and
>> deleting/readding to build path. None of these fix the problem.
>>
>> I've seen this happen before and I don't remember exactly how I
>> resolved. Thanks for the reply though.
|
|
|
Powered by
FUDForum. Page generated in 0.07337 seconds