com.stc.codegen.framework.model.CodeGenException

Error compiling source: Compile failed: WISE_WTEMappingMS002Services.jcdMS002: Line 4: Only a type can be imported. com.wessanen.common.Constants resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 5: Only a type can be imported. com.wessanen.common.WiseFunctions resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 102: Constants.QUEUE_LSP_FTP cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 169: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 173: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 174: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 202: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 230: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 549: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 553: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 554: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 604: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 605: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 648: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web14

  • via Oracle Community by 807574, 1 year ago
    Error compiling source: Compile failed: WISE_WTEMappingMS002Services.jcdMS002: Line 4: Only a type can be imported. com.wessanen.common.Constants resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 5: Only a type can be imported
  • via Oracle Community by 807574, 1 year ago
    Error compiling source: Compile failed: WISE_WTEMappingMS002Services.jcdMS002: Line 100: Constants.QUEUE_LSP_FTP cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 167: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a
  • via Oracle Community by 807574, 1 year ago
    No matching message type found for operation mesg type SAPConnectionParamsExecuteRequest
  • Stack trace

    • com.stc.codegen.framework.model.CodeGenException: Error compiling source: Compile failed: WISE_WTEMappingMS002Services.jcdMS002: Line 4: Only a type can be imported. com.wessanen.common.Constants resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 5: Only a type can be imported. com.wessanen.common.WiseFunctions resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 102: Constants.QUEUE_LSP_FTP cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 169: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 173: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 174: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 202: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 230: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 549: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 553: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 554: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 604: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 605: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 648: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:968) at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:713) at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544) at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405) at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308) at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268) at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923) at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174) at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599) Caused by: java.lang.RuntimeException: Compile failed: WISE_WTEMappingMS002Services.jcdMS002: Line 4: Only a type can be imported. com.wessanen.common.Constants resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 5: Only a type can be imported. com.wessanen.common.WiseFunctions resolves to a package WISE_WTEMappingMS002Services.jcdMS002: Line 102: Constants.QUEUE_LSP_FTP cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 169: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 173: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 174: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 202: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 230: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 549: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 553: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 554: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 604: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 605: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 648: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type at com.stc.javac.Javac.compile(Javac.java:227) at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:965)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.