Classpath container suddenly vanished and I cannot get it back [message #18966] |
Wed, 20 May 2009 20:05  |
Eclipse User |
|
|
|
Classpath container suddenly vanished and I cannot get it back. Ie, my
project has no dependencies in its classpath and thus every source file
has errors.
The change happened immediately after made a change to my pom.xml that was
invalid according to the schema (leaving out 'version' of a dependency).
Since then, I have Re-Enabled "Maven Dependency Management", Re-Installed
the IAM 0.9 plugin, and Deleted and Imported my project again, but the
issue remains.
This effectively renders me unable to proceed using the plugin, so unless
I can quickly find a workaround, Im going to have to install m2eclipse to
keep working while I get this resolved.
I have looked in Error Log view and do not see anything that seems related
to it.
One thing I did notice is double entries in .project and .classpath:
<nature>org.devzuz.q.maven.jdt.core.mavenNature</nature>
<nature>org.eclipse.iam.jdt.core.mavenNature</nature>
<classpathentry kind="con"
path="org.eclipse.iam.jdt.core.mavenClasspathContainer"/>
<classpathentry kind="con"
path="org.devzuz.q.maven.jdt.core.mavenClasspathContainer"/ >
-Ben
|
|
|
|
|
Re: Classpath container suddenly vanished and I cannot get it back [message #19052 is a reply to message #18966] |
Thu, 21 May 2009 03:58  |
Eclipse User |
|
|
|
BenH wrote:
> Classpath container suddenly vanished and I cannot get it back. Ie, my
> project has no dependencies in its classpath and thus every source file
> has errors.
> The change happened immediately after made a change to my pom.xml that was
> invalid according to the schema (leaving out 'version' of a dependency).
Invalid POMs will prevent the maven classpath container from being
properly built.
Once you fix the pom, you need to manually clean your project through the
Eclipse menus (Project > Clean...). If you have dependent projects,
cleaning all projects will be the safest option.
Yours,
--
Abel Muiño
|
|
|
|
Re: Classpath container suddenly vanished and I cannot get it back [message #569132 is a reply to message #18989] |
Wed, 20 May 2009 22:59  |
Eclipse User |
|
|
|
If you delete .classpth .project and .settings folder, and reimport the
project you should get a completely clean status
On 5/20/09 5:19 PM, BenH wrote:
> I have been able to work around my problem by deleting all IAM metadata
> from .classpath and .project files, then re-opening project and
> re-enabling Maven dependency mgt.
>
> -Ben
>
|
|
|
Re: Classpath container suddenly vanished and I cannot get it back [message #569171 is a reply to message #18966] |
Thu, 21 May 2009 03:58  |
Eclipse User |
|
|
|
BenH wrote:
> Classpath container suddenly vanished and I cannot get it back. Ie, my
> project has no dependencies in its classpath and thus every source file
> has errors.
> The change happened immediately after made a change to my pom.xml that was
> invalid according to the schema (leaving out 'version' of a dependency).
Invalid POMs will prevent the maven classpath container from being
properly built.
Once you fix the pom, you need to manually clean your project through the
Eclipse menus (Project > Clean...). If you have dependent projects,
cleaning all projects will be the safest option.
Yours,
--
Abel Muiño
|
|
|
Powered by
FUDForum. Page generated in 0.07139 seconds