Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCannot find the class file for java.lang.Object
https://www.eclipse.org/forums/index.php/mv/msg/125143/383186/#msg_383186
resolution.
This is buckminster-r9952 on XP, jdk 1.6.0_11. The classpath entries on
all plugins are set to JavaSE-1.6 in .classpath, and MANIFEST.MF. It's
1.6 in the various .settings/org.eclipse.jdt.core.prefs entries and also
org.eclipse.buckminster.jdt.complianceLevel.
This project exports just fine in Eclipse as well.
Here's the output for what it's worth.
[java] org.eclipse.buckminster.pde.targetOS set to the value {1}
[java] org.eclipse.buckminster.pde.targetWS set to the value {1}
[java] org.eclipse.buckminster.pde.targetArch set to the value {1}
[java] org.eclipse.buckminster.pde.targetPlatformPath set to the value {1}
[java] org.eclipse.buckminster.jdt.complianceLevel set to the value {1}
[java] perform '-Dbuckminster.output.root=c:\out'
'my.pkg.feature#feature.exports.with.source'
[java] Platform install location: C:\eclipse\svn\a\a\build\buckminster
[java] Target platform provided by class
org.eclipse.buckminster.pde.internal.PDETargetPlatform
[java] Actions to perform (in order)
[java] com.a.b.security:osgi.bundle$1.9.0.qualifier#OSGi#eclipse.bu ild
[java] com.a.lib.jdepend:osgi.bundle$2.9.1#OSGi#eclipse.build
... long list of actions that looks correctly resolved
[java]
com.a.b.feature:eclipse.feature$1.9.0.qualifier#OSGi#copy.so urce.plugins
[java] init actor:
eclipse.build[com.a.b.security:osgi.bundle$1.9.0.qualifier#O SGi#eclipse.build]
[java] INFO: [start
com.a.b.security:osgi.bundle$1.9.0.qualifier#OSGi#eclipse.bu ild]
[java] target.arch=x86
[java] buckminster.component=com.a.b.security
[java] workspace.root=C:/eclipse/svn/a/a/build/workspace
[java]
buckminster.temp=C:/DOCUME~1/nveys/LOCALS~1/Temp/buckminster /com.a.b.security_1.9.0-osgi.bundle/temp
[java]
buckminster.home=C:\eclipse\svn\a\b\build\workspace\plugins\ com.a.b.security\
[java]
buckminster.output=C:/eclipse/svn/a/b/build/output/com.a.b.s ecurity_1.9.0-osgi.bundle
[java] localhost=a
[java] buckminster.component.type=osgi.bundle
[java] buckminster.version.type=OSGi
[java] buckminster.version=1.9.0.qualifier
[java] target.nl=en_US
[java] target.ws=win32
[java] eclipse.home=C:\eclipse\svn\a\b\build\buckminster
[java] buckminster.output.root=C:\eclipse\svn\a\b/build/output
[java] target.os=win32
[java] target.location=C:\eclipse\svn\a\b\build\targetplatform\ecli pse
[java] Doing full workspace refresh
[java] Waiting for jobs to end
[java] org.eclipse.core.runtime.CoreException: 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
[java] at
org.eclipse.buckminster.core.internal.actor.AbstractBuildInt egrationActor.internalPerform(AbstractBuildIntegrationActor. java:53)
[java] at
org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:136)
[java] at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:361)
[java] at
org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:405)
[java] at
org.eclipse.buckminster.core.commands.Perform.internalRun(Pe rform.java:198)
[java] at
org.eclipse.buckminster.core.commands.WorkspaceCommand.run(W orkspaceCommand.java:99)
[java] at
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(Abs tractCommand.java:155)
[java] at
org.eclipse.buckminster.cmdline.Headless.run(Headless.java:2 95)
[java] at
org.eclipse.buckminster.cmdline.Headless.run(Headless.java:2 29)
[java] at
org.eclipse.buckminster.cmdline.Headless.start(Headless.java :304)
[java] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
[java] 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
BUILD FAILED
C:\eclipse\svn\a\b\build.xml:70: The following error occurred while
executing this line:
C:\eclipse\svn\a\b\buckminster-tasks.xml:93: The following error occurred
while executing this line:
C:\eclipse\svn\a\b\buckminster-tasks.xml:7: Java returned: 1
Total time: 1 minute 17 seconds]]>Nick Veys2009-03-05T22:11:59-00:00