FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Newbie - Cannot create a new project

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
kevinmtu



Joined: 18 Jun 2009
Posts: 3

PostPosted: Thu Jun 18, 2009 3:48 pm    Post subject: Newbie - Cannot create a new project Reply with quote

Hello,

I am trying out Netbeans on my Mac and am having trouble creating a new project. After I enter in all of my project congiuration info, and click finish it begins to create my project, but then hangs when creating the index file. I click for an error message and am given the error below. I tried searching for a solution with no luck. Help! Thanks



java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:211)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.misc.Service$LazyIterator.next(Service.java:271)
at javax.script.ScriptEngineManager.initEngines(ScriptEngineManager.java:127)
at javax.script.ScriptEngineManager.access$000(ScriptEngineManager.java:55)
at javax.script.ScriptEngineManager$1.run(ScriptEngineManager.java:9Cool
at java.security.AccessController.doPrivileged(Native Method)
at javax.script.ScriptEngineManager.init(ScriptEngineManager.java:96)
at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:69)
at org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.engine(ScriptingCreateFromTemplateHandler.java:128)
at org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.accept(ScriptingCreateFromTemplateHandler.java:69)
at org.openide.loaders.MultiDataObject.handleCreateFromTemplate(MultiDataObject.java:707)
at org.netbeans.modules.gsf.GsfDataObject.handleCreateFromTemplate(GsfDataObject.java:135)
at org.openide.loaders.DataObject$CreateAction.run(DataObject.java:1281)
at org.openide.loaders.DataObjectPool$1WrapAtomicAction.run(DataObjectPool.java:258)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:502)
at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:270)
at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:869)
at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:801)
at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:781)
at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.createIndexFile(NewPhpProjectWizardIterator.java:410)
at org.netbeans.modules.php.project.ui.wizards.NewPhpProjectWizardIterator.instantiate(NewPhpProjectWizardIterator.java:188)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253)
at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1475)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1432)
at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:120)
at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1999)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Back to top
View user's profile Send private message
kevinmtu



Joined: 18 Jun 2009
Posts: 3

PostPosted: Thu Jun 18, 2009 4:16 pm    Post subject: Reply with quote

Ok. I tried installing Netbeans on my Mac laptop where I have not updated to the latest Java Update 4 and everything seems to work. From my novice eyes, it seems that it may be an issue with the latest Java update. Thoughts?
Back to top
View user's profile Send private message
kevinmtu



Joined: 18 Jun 2009
Posts: 3

PostPosted: Thu Jun 18, 2009 5:57 pm    Post subject: Reply with quote

Found my own solution......http://www.netbeans.org/issues/show_bug.cgi?id=167139
Back to top
View user's profile Send private message
radek matous
Posted via mailing list.





PostPosted: Fri Jun 19, 2009 7:33 am    Post subject: Newbie - Cannot create a new project Reply with quote

kevinmtu wrote:
Quote:
Found my own solution......http://www.netbeans.org/issues/show_bug.cgi?id=167139

Maybe rather: #167240 Cannot create project on Mac OS X after upgrade of JDK
http://www.netbeans.org/issues/show_bug.cgi?id=167240

Radek
Quote:









Back to top
sapanparikh18



Joined: 23 Jun 2009
Posts: 3

PostPosted: Tue Jun 23, 2009 2:25 am    Post subject: I am hating NetBeans at this point Reply with quote

Just installed 6.7 RC3 because the suggested fix didn't work on my machine.
In last one year I have gathered NB 6.0.1, NB 6.1,NB 6.6 and now NB 6.7.
SO much frustrated!!!
Back to top
View user's profile Send private message
sapanparikh18



Joined: 23 Jun 2009
Posts: 3

PostPosted: Tue Jun 23, 2009 2:27 am    Post subject: Reply with quote

WTF it didn't work in 6.7 as well!!! What to do now?
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Jun 23, 2009 11:55 am    Post subject: Newbie - Cannot create a new project Reply with quote

I guess you have to install newer version than RC3 and that's
development version at the time being. As the mentioned in the issue
comments

will be available in build *200906190201* on http://bits.netbeans.org/dev/nightly/

After that you place attached .jar file (http://www.netbeans.org/nonav/issues/showattachment.cgi/83791/jsr223-api.jar) to platform/modules/ext/script-api.jar

And you should be fine than. <http://bits.netbeans.org/dev/nightly/>

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



sapanparikh18 wrote:
Quote:
Just installed 6.7 RC3 because the suggested fix didn't work on my machine.

In last one year I have gathered NB 6.0.1, NB 6.1,NB 6.6 and now NB 6.7.

SO much frustrated!!!










Back to top
sapanparikh18



Joined: 23 Jun 2009
Posts: 3

PostPosted: Tue Jun 23, 2009 12:42 pm    Post subject: Will never be able to use NB 6.5? Reply with quote

Does it mean that all the people who are using MACs will have to stop using their stable versions and download the nightly build!? I wouldn't even use RC3. Is their a way to make NB6.5 work on an iMac? I see the post about adding options to netbeans.conf but that did not work either Sad
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Jun 23, 2009 12:59 pm    Post subject: Newbie - Cannot create a new project Reply with quote

try something else. a user who reported issue
http://www.netbeans.org/issues/show_bug.cgi?id=167268 claims that he
installed jdk 6 and restarted netebeans - it helped.

if this doesn't help than reopen issue
http://www.netbeans.org/issues/show_bug.cgi?id=167139 and add your
comments there. Those people will be more helpful to you as I am.

Filip.

sapanparikh18 wrote:
Quote:
Does it mean that all the people who are using MACs will have to stop using their stable versions and download the nightly build!? I wouldn't even use RC3. Is their a way to make NB6.5 work on an iMac? I see the post about adding options to netbeans.conf but that did not work either :(










Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB