I created a relatively short (25 minute) video that should help you get DD4T for Java set up and running in Tomcat on a Windows server. It’s a pretty straight forward process but for developers without much Java experience there are some sticking points than can make the set up a little more challenging.
The download links and maven commands mentioned in can be found further down this post below the video.
Download links
Tomcat 8.0 https://tomcat.apache.org/download-80…
Maven version 3 https://maven.apache.org/download.cgi.
Java EE Eclipse Luna https://www.eclipse.org/downloads/pac…
Web Tools Platform (WTP) http://download.eclipse.org/webtools/…
Java 7 SE SDK http://www.oracle.com/technetwork/jav…
Maven commands
cd to your project root directory and run these commands in turn:
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_model.jar" -DgroupId=com.tridion.contentdelivery -DartifactId=cd_model -Dversion=2013SP1 -Dpackaging=jar
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_core.jar" -DgroupId=com.tridion.contentdelivery -DartifactId=cd_core -Dversion=2013SP1 -Dpackaging=jar
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_datalayer.jar" -DgroupId=com.tridion.contentdelivery –g=DartifactId=cd_datalayer -Dversion=2013SP1 -Dpackaging=jar
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_cache.jar" -DgroupId=com.tridion.contentdelivery -DartifactId=cd_cache -Dversion=2013SP1 -Dpackaging=jar
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_linking.jar" -DgroupId=com.tridion.contentdelivery -DartifactId=cd_linking -Dversion=2013SP1 -Dpackaging=jar
mvn install:install-file -Dfile="..\dependencies\Tridion jarfiles\cd_broker.jar" -DgroupId=com.tridion.contentdelivery -DartifactId=cd_broker -Dversion=2013SP1 -Dpackaging=jar