Appc Fails to Locate Jar Specified in <jar-file> Tag in persistence.xml (Doc ID 986983.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 to 10.3.2
Information in this document applies to any platform.

Symptoms

On WebLogic Server 10.3 when attempting to use appc to compile ear file containing persistence.xml the following error occurs.

ERROR
---------
<23-Nov-2009 11:51:35 o'clock GMT> <Info> <J2EE> <BEA-160186> <Compiling EAR module 'domain.jar'>
<23-Nov-2009 11:51:42 o'clock GMT> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
file:/C:/Users/x.x/AppData/Local/Temp/appcgen_1258977093697_reviewService.ear/appcgen_1258977093697_domain.jar/META-INF/persistence.xml [Location: Line: 19, C: 42]: The jar resource "other-classes.jar" cannot be loaded.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms