Forum Stats

  • 3,728,038 Users
  • 2,245,522 Discussions
  • 7,853,259 Comments

Discussions

java.lang.NoSuchMethodError: oracle.jdevimpl.javacompiler.JDevJavaFileManager.setStandardJavaFileMan

1155486
1155486 Member Posts: 1

When trying to build MAF APP I get following error -

java.lang.NoSuchMethodError: oracle.jdevimpl.javacompiler.JDevJavaFileManager.setStandardJavaFileManagerClassPath(Ljava/lang/String;)V

  o.j.compiler.Ojc.runJavacInProcess(Ojc.java:831)

  o.j.compiler.Ojc.translateImpl(Ojc.java:2002)

  o.j.compiler.Ojc.translate(Ojc.java:1905)

  o.j.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:911)

  o.j.compiler.UnifiedBuildSystem$CompileThread.buildProjectFilesImpl(UnifiedBuildSystem.java:1236)

  o.j.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:1030)

  o.j.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:1400)

  o.j.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:1502)

  o.j.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:2031)

JDEV VERSION - 12.1.3

MAF VERSION - 2.1.0

Link I referred to Install -

https://docs.oracle.com/middleware/maf210/mobile/install/index.html

OS - Yosemite 10.10.1

Answers

  • 2613749
    2613749 Member Posts: 2
    edited June 2015

    I am facing the same issue as above. Is there a fix/workaround available..?

  • 2613749
    2613749 Member Posts: 2
    edited June 2015

    SOLVED:

    1. In your MAF-application open ApplicationController Project-properties > Libraries and Classpaths > Java SE version

         The entry should say 'MAF JDK 1.8 Compact 2 Profile'. If it doesn't goto step 2

    2. Change Java SE version > Java SE Name: MAF JDK 1.8 Compact 2 Profile > Add all entries within '\jdeveloper\jdev\extensions\oracle.maf\lib' except JavaFramework_src.jar to ClassPath > Add JavaFramework_src.jar to 'Source Path' > OK

    This should resolve the issue.

Sign In or Register to comment.