|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Error creating Spring MVC projectSpring is a web module, not a mobility module, so I don't know why this error is occurring: java.lang.IllegalArgumentException: File URL pointing to JAR is not valid classpath entry. Use jar: URL. Was: nbinst:/modules/org-netbeans-modules-mobility-deployment-nokia.jar at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:81) at org.netbeans.spi.java.classpath.support.ClassPathSupport.createClassPath(ClassPathSupport.java:159) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.containsPath(SpringWebModuleExtender.java:395) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.containsClass(SpringWebModuleExtender.java:401) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.getLibrary(SpringWebModuleExtender.java:406) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.run(SpringWebModuleExtender.java:275) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender.extend(SpringWebModuleExtender.java:229) at org.netbeans.modules.web.project.ui.wizards.NewWebProjectWizardIterator.instantiate(NewWebProjectWizardIterator.java:185) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1023) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:595) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:416) 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:1384) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1341) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:119) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1908) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) John --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Error creating Spring MVC projectJohn Baker wrote:
> > Spring is a web module, not a mobility module, so I don't know why this > error is occurring: > > java.lang.IllegalArgumentException: File URL pointing to JAR is not > valid classpath entry. Use jar: URL. Was: > nbinst:/modules/org-netbeans-modules-mobility-deployment-nokia.jar Because you are creating a classpath for each registered library and because whoever owns the library containing that jar should have used a jar:nbinst: URL instead of a nbinst: URL. Please file an issue, against web/spring for now. We will have to work around in our module and the pass it to the owner of the library to fix it. Andrei --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Error creating Spring MVC projectAndrei Badea wrote:
> John Baker wrote: >> >> Spring is a web module, not a mobility module, so I don't know why >> this error is occurring: >> >> java.lang.IllegalArgumentException: File URL pointing to JAR is not >> valid classpath entry. Use jar: URL. Was: >> nbinst:/modules/org-netbeans-modules-mobility-deployment-nokia.jar > > Because you are creating a classpath for each registered library > and because whoever owns the library containing that jar should have > used a jar:nbinst: URL instead of a nbinst: URL. > > Please file an issue, against web/spring for now. We will have to work > around in our module and the pass it to the owner of the library to > fix it. After updating my repository and building, creating Spring projects is working again John > > Andrei --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Error creating Spring MVC projectJohn Baker wrote:
>> Because you are creating a classpath for each registered library > ok, but only for the libraries required by Spring project. No, for all libraries, see SpringWebModuleExtender.getLibrary(). >> and because whoever owns the library containing that jar should have >> used a jar:nbinst: URL instead of a nbinst: URL. >> >> Please file an issue, against web/spring for now. We will have to work >> around in our module and the pass it to the owner of the library to >> fix it. > After updating my repository and building, creating Spring projects is > working again Probably because you did not build the mobility.deployment.nokia module. The bug is still there. Compare: http://hg.netbeans.org/main/file/12b2b7232877/mobility.deployment.nokia/src/org/netbeans/modules/mobility/deployment/nokia/nokiadeploymentmodule.xml with e.g. spring-framework-2.5.xml in spring.beans. Please file the issue. Andrei --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free Forum Powered by Nabble | Forum Help |