Category: Java
-
IntelliJ IDEA: Plugin to generate SerialVersionUID
Easy as pie. 1. Go to: File > Settings > Plugins > Browse repositories > GenerateSerialVersionUID. 2. Install the plugin and restart. 3. Generate the ID by: Code > Generate > serialVersionUID or the shortcut.
-
IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite
I had issues in Yosemite with IntelliJ always complaining that it couldn’t see my M2_HOME variable, even though I had it in my .bash_profile. Turns out that only works in the terminal. In any case, this worked — I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist…
-
Debugging the dreaded “SEVERE: Error listenerStart” and “SEVERE: Error filterStart” Tomcat error messages
The solution is to add a logging.properties file inside WEB-INF/classes with the following: org.apache.catalina.core.ContainerBase.[Catalina].level = INFOorg.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler Source: Debugging the dreaded “SEVERE: Error listenerStart” and “SEVERE: Error filterStart” tomcat error messages « Trifork Blog / Trifork: Enterprise Java, Open Source, software solutions
-
Fix for JAVA_HOME variable in OS X Yosemite
In case you upgraded to OS X Yosemite and your JAVA_HOME variable in bash_profile no longer works, change/add the following: export JAVA_HOME=`/usr/libexec/java_home -v 1.7` Then, run source ~/.bash_profile and it should work from there.