Skip to content
Advertisement

Tag: intellij-idea

Removing Java 8 JDK from Mac

So I installed the beta of JDK 8 a while ago to look at some of the examples. I thought for sure by now, it’s easy to change between versions. Doing some Play development with IntelliJ. For some reason, IntelliJ is compiling with 8 even though: I have the compiler set in Preferences to use 1.6 Supposedly it’s using SBT

How do I change the IntelliJ IDEA default JDK?

I use IntelliJ IDEA as my development environment, and Maven for dependency management. I frequently build my project structure (directories, poms, etc) outside of IDEA and then import the project into IDEA using Import project from external model. This works great, except that in my poms I specify that the maven-compiler-plugin should use JDK 1.6, and when I import, IDEA

java class method stubs with /* compiled code */

I just received a third party authentication library to use in my clients application. I didn’t receive any documentation with it and am trying to dig through the source and see how it works. I’m very to new Java when i click Go To -> Declaration on methods in IntelliJ it sends me to a .class file and i see

Maven package works but Intellij’s build fails

I have a JDK 1.7 project with a maven dependency to a local jar in my maven repo. I’m unable to build the project using Intellij, with the errors that a symbol cannot be found (the symbol is a class importing packages from the local jar) But I can successfully build the project using ‘mvn package’. I’ve spent so much

Where to add compiler options like -ea in IntelliJ IDEA?

I want to add the -ea option. I set it in Project Settings –> Compiler –> Java Compiler : Additional command line parameters. But it caused a make error: invalid flag: -ea. P.S.: the above error message may not be the same as yours, because IntelliJ showed error in my native language, not English. I translated it into English. Answer

Unable to resolve reverse routing methods in IntelliJ

I’m following one of the play framework tutorials, but I’m getting compile errors whenever I try to use reverse routing. Firstly, where the error shown in intelliJ is ‘cannot resolve method javascriptRouter(java.lang.String, ?, ?, ?, ?)’ But also in the a unit test: where it cannot resolve the index method. Is this a problem with intelliJ, or am I missing

JSONObject ClassNotFoundException

I am working in IntelliJ and using Maven. I have a class that uses JSONObject: Maven dependency in the pom.xml file: I can do a mvn clean package and builds successfully. But when I try to run it, I get: Error: java.lang.ClassNotFoundException: org.json.JSONObject Is there anything else I’m missing here? Thanks! Answer Add json jar to your classpath or use

How Can I View Glassfish Logs on Intellij Idea

I am working on making the switch from Netbeans to Intellij Idea. One thing I miss from Netbeans is the ability to view the Glassfish server logs in real-time in the IDE. It seems like with Idea I need to go out to the file system and tail them. Is there another way that I am missing? Answer Additional server

Advertisement