-
Notifications
You must be signed in to change notification settings - Fork 96
GettingStarted
(Tested with spring-tool-suite-3.1.0.RELEASE-e3.8-macosx-cocoa-x86_64)
Go to "Preferences" -> "Spring" -> "Template Projects" and click "add". In the dialog, enter "custom-template"(any name ok) as Name and "https://github.com/making/spring-webapp-template/raw/master/template/descriptors.xml" as URL.
Click "OK".
Go to "File" -> "New" -> "Spring Template Project" and select "Spring Web Application Template Project".
Click "Next". You have to download template project at the first time.
Click "Yes".
Enter the project information and click "Finish".
Template project has been created in your workspace.
Right click the project and select "Configure" -> "Convert to Maven Project".
Your project has been configured as Maven project
Right click the project and select "Run As" -> "Run on Server".
Select "VMware vFabric tc Server Developer Edition vx.x" and click "Finish".
The output looks like as shown.
00:50:18 [tomcat-http--4] [DEBUG] [o.h.e.transaction.spi.AbstractTransactionImpl ] - begin
Cannot create JDBC driver of class 'net.sf.log4jdbc.DriverSpy' for connect URL 'jdbc:log4jdbc:h2:mem:projectName;MODE=PostgreSQL'
java.sql.SQLException: No suitable driver
Application server couldn't find the jdbc driver. H2 is pre-configured as default driver.
cp $HOME/.m2/repository/com/h2database/h2/x.x.x/h2-x.x.x.jar $STS_HOME/vfabric-tc-server-developer-x.x.x.RELEASE/tomcat-x.x.x.RELEASE/lib/
java.lang.OutOfMemoryError: PermGen space
Aplication couldn't start.
Add JVM option -XX:PermSize=256m
. In case of tc server, this is pre-configured.