Search code examples
javaintellij-idea

IntelliJ IDEA 15 not generating .class files


I have a java EE project (basically Maximo 7.5 customization). I was previously using Eclipse and everything worked fine. I recently tired using IntelliJ IDEA 15 Ultimate edition. I set the project but when I build. It doesnt generate any .class files. I am however, given the following errors.

  1. Error:osgi: [Maximo] Missing file on classpath: C:/Users/IBM_ADMIN/workspace/Maximo/out/production/Maximo
  2. Warning:osgi: [Maximo] The JAR is empty: The instructions for the JAR named compile-server did not cause any content to be included, this is likely wrong

May be I don't know how to set up a Java EE project in IntelliJ. What other info should I paste about Project Structure which can help in troubleshooting the issue?

thanks in advance.


Solution

  • It was an issue with adding required Libraries and Java version being used. I again re imported the project and added the required libraries. It started compiling class files but when I deployed those class files on servers they didn't work. I then configured the JDK to use proper language level for compilation for this project (Jave 6). Now everything working fine. Thanks a lot for the answers.