Before recent upgrade I have been using IDEA 10.5 with Tomcat 6.0. The options I passed to VM in Run/Debug Configuration were:
"-Dcatalina.base=D:\Tomcat 6.0" -Xmx1024m
After upgrading to IDEA 11 I've imported all the settings from previous version and tried to start the web app, but catched the error:
Connected to the target VM, address: '127.0.0.1:53578', transport: 'socket'
java.lang.NoClassDefFoundError: "-Dcatalina/base=D:\Tomcat 6/0"
Disconnected from the target VM, address: '127.0.0.1:53578', transport: 'socket'
Exception in thread "main" Disconnected from server
The point is that all the "." had been replaced with "/" (possibly trying to resolve package paths into file system ones).
Except upgrading of IDE version nothing changed.
Why does such replacement take place?
Thanks in advance.