This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 222165

Summary: unable to save
Product: javaee Reporter: bart.lln
Component: JSPAssignee: issues@javaee <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2.1   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:

Description bart.lln 2012-11-15 03:16:20 UTC
Hi, 

I have had some problems with Netbeans. Here is a list:
    Create new project : At the end of the dialogue for setting up the new project, I click finish, and the box does not disappear(I have to click the close button at top right). The project is not added to my project list, but the project folder is created in the selected directory.
    Saving files: When I attempt to save a file, it does not save. When I attempt to close a modified file, The dialog box for choosing between save, discard, or cancel pops up. This problem was specifically experienced when trying to save a .jsp file. The following error message was in response to saving a jsp file.

Operating system : Windows 8
Java version : 7
Netbeans version : Java EE


I believe this is some kind of issue with permissions, but after trying to run netbeans as an administrator and getting this long error message, I have no idea what to think about this. I need some help with this.






java.lang.NoSuchMethodError: javax.servlet.ServletContext.getJspConfigDescriptor()Ljavax/servlet/descriptor/JspConfigDescriptor;
	at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:106)
	at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:196)
	at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:259)
	at org.apache.jasper.compiler.ExtractPageData.extractPageData(ExtractPageData.java:97)
	at org.apache.jasper.compiler.ExtractPageData.isXMLSyntax(ExtractPageData.java:77)
	at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport.getJspOpenInfo(WebAppParseSupport.java:247)
	at org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:183)
	at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getCachedOpenInfo(TagLibParseSupport.java:271)
	at org.netbeans.modules.web.core.jsploader.JspDataObject.findFileEncoding(JspDataObject.java:317)
	at org.netbeans.modules.web.core.jsploader.JspDataObject.updateFileEncoding(JspDataObject.java:311)
	at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.checkFileEncoding(BaseJspEditorSupport.java:368)
	at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.saveDocument(BaseJspEditorSupport.java:356)
	at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.saveDocument(BaseJspEditorSupport.java:346)
	at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$5.save(BaseJspEditorSupport.java:315)
	at org.openide.actions.SaveAction.performAction(SaveAction.java:132)
	at org.openide.actions.SaveAction.performAction(SaveAction.java:102)
	at org.openide.actions.SaveAction$Delegate.actionPerformed(SaveAction.java:249)
	at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:231)
	at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:247)
	at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
	at org.openide.util.actions.ActionInvoker$ActionRunnable.actionPerformed(ActionInvoker.java:162)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:109)
	at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:60)
	at org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:153)
	at org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:110)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Comment 1 Marian Mirilovic 2012-11-15 08:08:23 UTC
You are facing problem with copied jar to JDK/JRE
directories (e.g. <jdk_dir>/jre/lib/ext)


see http://netbeans.org/bugzilla/show_bug.cgi?id=207604#c3   (Comment 3)

*** This bug has been marked as a duplicate of bug 195055 ***