My Oracle Support Banner

WLS 9.2.2 - Ant task jwsc fails when EJB contains inner class! (Doc ID 1294822.1)

Last updated on APRIL 30, 2018

Applies to:

Oracle Weblogic Server - Version: 9.2 to 9.2
Oracle Weblogic Server - Version: 10.0 to 10.0]
Information in this document applies to any platform.

Symptoms

In Weblogic 9.2.2 (WLS), when using ant task jwsc to generate Webservice on an existing EJB that contains inner class, the ant build fails with the following error:

[jwsc] Creating C:\DOCUME~1\yul\LOCALS~1\Temp\_j5pbrd\\ejb-jar.xml
[jwsc] Compiling 5 source files to C:\DOCUME~1\yul\LOCALS~1\Temp\_j5pbrd
[jwsc] C:\Documents and Settings\yul\Local Settings\Temp\_j5pbrd\BTSQuery.java:402: cannot find symbol
[jwsc] symbol : class MtaModelsDocument$MtaModels
[jwsc] location: package com.mydataobjects
[jwsc] public com.mydataobjects.MtaModelsDocument$MtaModels getMtaModels() throws RemoteException;
[jwsc] ^
[jwsc] C:\Documents and Settings\yul\Local Settings\Temp\_j5pbrd\BTSQuery.java:409: cannot find symbol
[jwsc] symbol : class BTSSwitchAttributesList$BTSSwitchAttributes
[jwsc] location: interface com.mydataobjects.BTSSwitchAttributesListDocument
[jwsc] public com.mydataobjects.BTSSwitchAttributesListDocument.BTSSwitchAttributesList$BTSSwitchAttributes[] getSwitchAttributes() throws RemoteException;
[jwsc]
^
[jwsc] Note: Some input files use unchecked or unsafe operations.
[jwsc] Note: Recompile with -Xlint:unchecked for details.
[jwsc] 2 errors
[AntUtil.deleteDir] Deleting directory C:\DOCUME~1\yul\LOCALS~1\Temp\_j5pbrd

Creating C:\DOCUME~1\yul\LOCALS~1\Temp\_j5pbrd\\weblogic-ejb-jar.xml

BUILD FAILED

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.