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.
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.
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
3. That's it!
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
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.