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.
1. Register WebLogic 10.3.4 server 2. In the admin console, change persistence provider to TopLink 3. Create a new Java EE 5 web project with WLS target 4. Create some entities from database (e.g. DiscountCode) - the IDE will use EclipseLink 2.x as the persistence provider and JPA 1.0 as the JPA version, which is correct. When you go to $user_dir/var/cache, there is a file DiscountCode_.sig, which means that the canonical metamodel processor was launched and the IDE attempted to generate the metamodel. This causes further problems such as bug 190237 (hence P2 priority).
Created attachment 103190 [details] I am attaching the generated DiscountCode_.sig file
Note, when you just Clean & Build using the Ant script, the metamodel is not generated, which is correct.
Looks like a regression of https://netbeans.org/bugzilla/show_bug.cgi?id=189697 as ModelGen lib is added but shouldn't.
http://hg.netbeans.org/web-main/rev/9067c3bc6e8c modelgen.jar isn't added for weblogic now, may be it was unhandled case after 189697 fix.
Integrated into 'main-golden', will be available in build *201011270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9067c3bc6e8c User: Sergey B. Petrov <sj-nb@netbeans.org> Log: fix #192285 do not add modelgen jar if project do not support jpa2.0