Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

1155486Feb 2 2015 — edited Jun 25 2015

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

Comments

2613749

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

2613749

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.

1 - 2

Post Details

Added on Feb 2 2015
2 comments
1,556 views