Problem building project EAR file with CAPS 5.1.1 eDesigner: The original Java Language Specification did not allow for empty member declarations (Doc ID 1025116.1)

Last updated on NOVEMBER 27, 2006

Applies to:

Oracle Java CAPS Core - Version: 5.1.1 and later
Information in this document applies to any platform.

Symptoms

Using 5.1.1 Enterprise Designer, the exception shown below is produced when attempting to build project:

com.stc.codegen.framework.model.CodeGenException: Since fork is true, ignoring compiler setting.
Since fork is true, ignoring compiler setting.
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prj1120782\cm1120782_jcd11207821\jcd1120782_Runtime_Handler.java:927: warning: The original Java Language Specification did not allow for empty member declarations.
{};
^
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prj1120782\cm1120782_jcd11207821\jcd1120782_Runtime_Handler.java:929: warning: The original Java Language Specification did not allow for empty member declarations.
{};
^
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prj1120782\cm1120782_jcd11207821\jcd1120782_Runtime_Handler.java:931: warning: The original Java Language Specification did not allow for empty member declarations.
{};
^
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prj1120782\cm1120782_jcd11207821\jcd1120782_Runtime_Handler.java:934: warning: The original Java Language Specification did not allow for empty member declarations.
{};
^
fastjavac: site 7: Class file format incorrect for 'com/pl/es/finalist/dvo/FinalistServiceInput.class'
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prjWBarz\jcd1120782.java:22: Class FinalistServiceInput not found in type declaration or import.
FinalistServiceInput request = new FinalistServiceInput();
^
C:\DOCUME~1\USERAD~1\LOCALS~1\Temp\builds\prj1120782dpSPT\cm1120782_jcd11207821_ejb\prjWBarz\jcd1120782.java:22: No constructor in FinalistServiceInput matches <init>()
FinalistServiceInput request = new FinalistServiceInput();
^
4 warnings
3 errors


at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:816)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:689)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1290)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:401)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:307)
at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:267)
at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:901)
at com.stc.codegen.driver.module.DeploymentBuildAction.access$700(DeploymentBuildAction.java:173)
at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:590)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Caused by: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
at com.stc.codegen.frameworkImpl.model.util.AntTasksWrapperImpl.javac(AntTasksWrapperImpl.java:285)
at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:809)
... 10 more

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