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 - Can not create a java file in a package
Summary: Can not create a java file in a package
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-26 12:48 UTC by ashrahurkar
Modified: 2015-09-09 17:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
This is a log file where exception has been logged. (67.57 KB, text/x-log)
2015-07-26 12:48 UTC, ashrahurkar
Details

Note You need to log in before you can comment on or make changes to this bug.
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.