Discussion:
Need Assistance With Compile Error on Module (PF CRUD Generator) - NB 8.0.1
Kay Wrobel
2014-09-27 01:45:23 UTC
Permalink
Dear NetBeans developers,
/Users/kuw/Java/netbeans-projects/Module Development/nbpfcrudgen/src/org/netbeans/modules/web/primefaces/crudgenerator/wizards/PersistenceClientSetupPanelVisual.java:621: error: cannot access ExplorerManager
org.openide.filesystems.FileObject fo = BrowseFolders.showDialog(groups);
class file for org.openide.explorer.ExplorerManager not found
org.openide.filesystems.FileObject fo = BrowseFolders.showDialog(groups);
I’ve downloaded the NetBeans 8.0.1 source code and found the BrowseFolders class. This class is indeed declared public, so it shouldn’t be a problem. However, it implements ExplorerManager.Provider. I wonder, though, why I am getting this error? BrowseFolders is part of the JSF Support module.

Would anyone with deeper knowledge of the NetBeans internals be kind enough to offer his assistance with this? I am have users anxiously awaiting a NBM package for 8.0.1 from me, but I have to tell them that I can’t provide that at the moment due to this compile error.

Thank you for your help.

Kay
Kay Wrobel
2014-09-27 02:17:00 UTC
Permalink
Solved problem on my own. Had JDK 8 installed. Uninstalled JDK 8 and put JDK 7 back on. The module now compiles without a hitch. Weird!

Kay
Post by Kay Wrobel
Dear NetBeans developers,
/Users/kuw/Java/netbeans-projects/Module Development/nbpfcrudgen/src/org/netbeans/modules/web/primefaces/crudgenerator/wizards/PersistenceClientSetupPanelVisual.java:621: error: cannot access ExplorerManager
org.openide.filesystems.FileObject fo = BrowseFolders.showDialog(groups);
class file for org.openide.explorer.ExplorerManager not found
org.openide.filesystems.FileObject fo = BrowseFolders.showDialog(groups);
I’ve downloaded the NetBeans 8.0.1 source code and found the BrowseFolders class. This class is indeed declared public, so it shouldn’t be a problem. However, it implements ExplorerManager.Provider. I wonder, though, why I am getting this error? BrowseFolders is part of the JSF Support module.
Would anyone with deeper knowledge of the NetBeans internals be kind enough to offer his assistance with this? I am have users anxiously awaiting a NBM package for 8.0.1 from me, but I have to tell them that I can’t provide that at the moment due to this compile error.
Thank you for your help.
Kay
Loading...