com.stc.codegen.framework.model.CodeGenException: 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 type WISE_WTEMappingMS002Services.jcdMS002: Line 171: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 172: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 200: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 228: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 547: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 551: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 552: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 602: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 603: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 646: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type

Oracle Community | 807574 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    import util jar files into JCAPS Edesigner and sun is

    Oracle Community | 9 years ago | 807574
    com.stc.codegen.framework.model.CodeGenException: 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 type WISE_WTEMappingMS002Services.jcdMS002: Line 171: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 172: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 200: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 228: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 547: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 551: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 552: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 602: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 603: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 646: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type
  2. 0

    importing jar file to a jcd

    Oracle Community | 9 years ago | 807574
    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

    Root Cause Analysis

    1. java.lang.RuntimeException

      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 type WISE_WTEMappingMS002Services.jcdMS002: Line 171: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 172: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 200: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 228: WiseFunctions cannot be resolved WISE_WTEMappingMS002Services.jcdMS002: Line 547: Constants.SAPSTATUS_MAPPING_ERROR cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 551: Constants.sapDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 552: Constants.sapTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 602: Constants.ediDateFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 603: Constants.ediTimeFormatter cannot be resolved to a type WISE_WTEMappingMS002Services.jcdMS002: Line 646: Constants.QUEUE_DELIVER_ROUTER cannot be resolved to a type

      at com.stc.javac.Javac.compile()
    2. com.stc.javac
      Javac.compile
      1. com.stc.javac.Javac.compile(Javac.java:227)
      1 frame
    3. com.stc.codegen
      DeploymentBuildAction$1.run
      1. com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.compileCodegen(CodeGenFrameworkImpl.java:965)
      2. com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:713)
      3. com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1544)
      4. com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
      5. com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
      6. com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
      7. com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
      8. com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
      9. com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
      9 frames
    4. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.Task.run(Task.java:136)
      2. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
      2 frames