errors: can't resolve java.lang.Object and errors in xsd [message #187138] |
Fri, 26 January 2007 18:16  |
Eclipse User |
|
|
|
A new developer downloaded Eclipse 3.2.1 and then used the update manager
to do a complete download and install of Callisto. He started with a new
workspace. He is using jdk 1.5.0_10. He is having two serious problems:
1. If he creates a new dynamic web application, eclipse gives the
following error for the automatically created web.xml:
Referenced file contains errors
( http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd).
For more information, right click on the message and select "Show
Details..." acua/WebContent/WEB-INF web.xml line 1 1169833955001 44
2. In an existing Web Services application that has no errors using older
an older version of wtp 1.5 a java files shows the following errors:
The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.Object. Fix the build path then try building
this project acua Unknown 1169833953649 43
The type java.lang.Object cannot be resolved. It is indirectly referenced
from required .class
files acua/src/com/embarq/acua StatusWBmpClrs.java line 1 1169833953649 42
Another developer duplicated this problem by downloading eclipse 3.2.1,
creating a fresh workspace, and installing the Callisto plugins.
|
|
|
Re: errors: can't resolve java.lang.Object and errors in xsd [message #187190 is a reply to message #187138] |
Sat, 27 January 2007 20:05   |
Eclipse User |
|
|
|
It is quite possibly that your project doesn't contain JRE libraries or
it contains incorrect JRE libraries.
Check the project's Build Path.
Snjeza
Chuck wrote:
> A new developer downloaded Eclipse 3.2.1 and then used the update
> manager to do a complete download and install of Callisto. He started
> with a new workspace. He is using jdk 1.5.0_10. He is having two serious
> problems:
>
> 1. If he creates a new dynamic web application, eclipse gives the
> following error for the automatically created web.xml:
>
> Referenced file contains errors
> ( http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd).
> For more information, right click on the message and select "Show
> Details..." acua/WebContent/WEB-INF web.xml line 1
> 1169833955001 44
>
> 2. In an existing Web Services application that has no errors using
> older an older version of wtp 1.5 a java files shows the following errors:
>
> The project was not built since its build path is incomplete. Cannot
> find the class file for java.lang.Object. Fix the build path then try
> building this project acua Unknown 1169833953649 43
>
> The type java.lang.Object cannot be resolved. It is indirectly
> referenced from required .class files acua/src/com/embarq/acua
> StatusWBmpClrs.java line 1 1169833953649 42
>
> Another developer duplicated this problem by downloading eclipse 3.2.1,
> creating a fresh workspace, and installing the Callisto plugins.
>
>
>
>
>
|
|
|
Re: errors in xsd [message #187281 is a reply to message #187190] |
Mon, 29 January 2007 16:04   |
Eclipse User |
|
|
|
Snjezana Peco wrote:
> It is quite possibly that your project doesn't contain JRE libraries or
> it contains incorrect JRE libraries.
> Check the project's Build Path.
There was an invalid entry apparently in the .classpath file. After
correcting this, java.lang.Object related problem is resolved.
However, the following problem still remains. It seems fairly certain that
this is a WTP related problem since it occurs with a pristine
Eclipse3.2/WTP1.5 environment, a new workspace, and any newly created
Dynamic Web Project.
>> A new developer downloaded Eclipse 3.2.1 and then used the update
>> manager to do a complete download and install of Callisto. He started
>> with a new workspace. He is using jdk 1.5.0_10. He is having the following
>> problem:
>>
>> 1. If he creates a new dynamic web application, eclipse gives the
>> following error for the automatically created web.xml:
>>
>> Referenced file contains errors
>> ( http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd).
>> For more information, right click on the message and select "Show
>> Details..." acua/WebContent/WEB-INF web.xml line 1
>> 1169833955001 44
|
|
|
Re: errors in xsd [message #187290 is a reply to message #187281] |
Mon, 29 January 2007 17:06  |
Eclipse User |
|
|
|
I think your remaining problem is covered by Bug 152355 [1], starting at
Comment #11. See [2] and its follow up for what you might do to work
around it for the time being.
Cheers,
Larry
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=152355
[2] http://dev.eclipse.org/newslists/news.eclipse.webtools/msg13 036.html
Chuck wrote:
> Snjezana Peco wrote:
>
>> It is quite possibly that your project doesn't contain JRE libraries
>> or it contains incorrect JRE libraries.
>> Check the project's Build Path.
>
> There was an invalid entry apparently in the .classpath file. After
> correcting this, java.lang.Object related problem is resolved.
>
> However, the following problem still remains. It seems fairly certain
> that this is a WTP related problem since it occurs with a pristine
> Eclipse3.2/WTP1.5 environment, a new workspace, and any newly created
> Dynamic Web Project.
>
>>> A new developer downloaded Eclipse 3.2.1 and then used the update
>>> manager to do a complete download and install of Callisto. He started
>>> with a new workspace. He is using jdk 1.5.0_10. He is having the
>>> following problem:
>>>
>>> 1. If he creates a new dynamic web application, eclipse gives the
>>> following error for the automatically created web.xml:
>>>
>>> Referenced file contains errors
>>> ( http://www.ibm.com/webservices/xsd/j2ee_web_services_client_ 1_1.xsd).
>>> For more information, right click on the message and select "Show
>>> Details..." acua/WebContent/WEB-INF web.xml line 1
>>> 1169833955001 44
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02719 seconds