Skip to content
Marcy Gordon edited this page Jul 19, 2011 · 4 revisions

Troubleshooting

Having problems getting your own instance of OpenTripPlanner up and running? Please check out the below Troubleshooting sections to see if there is a known solution to your problem

Installing Eclipse

Maven requires a JDK

Problem: Received the dialog box shown below and message in the Maven console:

"Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders."

image

Solution: Add a JDK to the list of Java platforms in Eclipse. Either set the JDK as Eclipse's default platform or set each OTP project to use the JDK. You may also need to add the following lines to the top of eclipse.ini (where the path is the path to the JDK you have installed):

-vm

C:\Program Files\Java\jdk1.6.0_01\bin

TODO - link to Troubleshooting section of GettingStartedEclipse

Installing Tomcat and setup Eclipse Integration

Tomcat requires the latest JRE

Problem: Console shows the following message when starting Tomcat: "… needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader."

Solution: Changed Tomcat’s JRE to use the latest version of Sun JRE instead of an old JDK.

image

TODO - link to Troubleshooting section of SettingUpATomcatServerInEclipse

Build the Transit and Street Graph

TODO - link to Troubleshooting section of GraphBuilder

Configure and run the web app

TODO - link to the Troubleshooting section of RunningTheWebappInEclipse or RunningTheWebappInTomcat

Clone this wiki locally