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 253806

Summary: Can not create a java file in a package
Product: platform Reporter: ashrahurkar
Component: Module SystemAssignee: Tomas Hurka <thurka>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: This is a log file where exception has been logged.

Description ashrahurkar 2015-07-26 12:48:46 UTC
Created attachment 154906 [details]
This is a log file where exception has been logged.

Could not create a new java file in the project under package. A java.lang.NoClassDefFoundError exception has occurred.
Comment 1 Tomas Zezula 2015-07-27 10:17:41 UTC
The freemarker.template.TemplateException is not found in CL.
Comment 2 ashrahurkar 2015-07-30 16:06:54 UTC
(In reply to Tomas Zezula from comment #1)
> The freemarker.template.TemplateException is not found in CL.

Can you tell me what CL stands for? (may be Change log???) Also how can I resolve this?
Comment 3 Tomas Hurka 2015-09-09 17:00:26 UTC
From the messages.log:

INFO [org.netbeans.JarClassLoader]: Cannot open /home/ashish/netbeans-8.0.1/ide/modules/ext/freemarker-2.3.19.jar
java.io.FileNotFoundException: /home/ashish/netbeans-8.0.1/ide/modules/ext/freemarker-2.3.19.jar (No such file or directory)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
	at java.util.jar.JarFile.<init>(JarFile.java:154)
	at java.util.jar.JarFile.<init>(JarFile.java:133)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:524)

/home/ashish/netbeans-8.0.1/ide/modules/ext/freemarker-2.3.19.jar file is missing - this looks like broken NetBeans installation. Please reinstall NetBeans.