NoClassDefFoundError: Symbol

Hi!
I’ve some issues with my first application:
I created a new project with a new basicGame. I didn’t change anything on this code but in the section output - application i’ve found this error:

java.lang.NoClassDefFoundError: com/sun/tools/javac/code/Symbol
	at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:85)
	at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:671)
	at org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:287)
	at org.netbeans.modules.project.ui.actions.ProjectAction$2.run(ProjectAction.java:187)
	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:118)
	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:83)
	at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:79)
	at org.openide.util.Mutex.writeAccess(Mutex.java:310)
	at org.netbeans.modules.project.ui.actions.ProjectAction.runSequentially(ProjectAction.java:184)
	at org.netbeans.modules.project.ui.actions.MainProjectAction$1$1.run(MainProjectAction.java:140)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.code.Symbol starting from ModuleCL@813fd7[org.netbeans.modules.java.source.base] with possible defining loaders null and declared parents [ModuleCL@15d987b[org.netbeans.modules.classfile], ModuleCL@574c6a[org.netbeans.modules.editor.mimelookup], ModuleCL@1d9c087[org.netbeans.api.java], org.netbeans.MainImpl$BootClassLoader@817b38, ModuleCL@1c6e816[org.netbeans.api.progress], ModuleCL@fdb7f[org.netbeans.lib.nbjavac], ModuleCL@1834105[org.netbeans.libs.javacapi], ModuleCL@95d42f[org.netbeans.modules.editor.settings], ModuleCL@67db23[org.netbeans.libs.lucene], ModuleCL@14afe6e[org.netbeans.modules.lexer], ...17 more]
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:228)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 25 more

I’m so confused :neutral_face: I think there’s a problem with DOT symbol in java, but java is correctly installed on my machine and I use regularly Eclipse and i’ve not issues on this IDE.
I’ve tried to uninstall and reinstall jme (thinking that there were some truble with the installation) but the problem is still here. I don’t know what to do or what to think :persevere:

Thanks to everyone will reply! :slight_smile:

What platform are you running?
The missing class is part of the Java Compiler and if you run the jmonkeyplatform.zip and only have openJDK or only a JRE, it misses the Java Compiler.

Have you googled that issue, since it’s rather Netbeans specific?

Hi! thanks for the help! I solve the problem, i don’t know how indeed, I think there were a conflict beetween my jdk and jmonkey!
I changed the version with the stable and following I update my jdk.
Now works :slight_smile:
Thank u so much for the support :slight_smile: