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 181567

Summary: Metadata plugin causing trouble?
Product: java Reporter: javydreamercsw <javydreamercsw>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description javydreamercsw 2010-03-05 05:58:00 UTC
Build 201003040200

I'm getting this error while compiling:

Note: Creating the metadata factory ...
.
.
.
Note: ElementVisitor Package NOT IMPLEMENTED : games.jwrestling.server.core.action
error: java.lang.RuntimeException: Unable to load persistence.xml : Z:\Netbeans\jWrestling\jWrestling\build\classes\META-INF\persistence.xml (The system cannot find the path specified)
.
.
.
An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.RuntimeException: java.lang.RuntimeException: Unable to load persistence.xml : Z:\Netbeans\jWrestling\jWrestling\build\classes\META-INF\persistence.xml (The system cannot find the path specified)

At this point the build folder is empty.
Comment 1 javydreamercsw 2010-03-05 07:29:17 UTC
The same project compiles without issues on 6.8.
Comment 2 Tomas Zezula 2010-03-15 13:05:06 UTC
Seems that you have configured annotation processor for your project (probably eclipselink) which depends on existence of META-INF/persistence.xml in CLASSES_OUTPUT.
The NB 6.8 did not run annotation processors.

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