Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (10 sloc) 1.5 KB

Troubleshooting

Things not going well? See if your problem is one that we've encountered before.

Java 9 compatibility - NoClassDefFoundError: javax/xml/bind/JAXBException when running project

Symptom - I try to run the application using Java 9, but I get an error message (e.g., NoClassDefFoundError) about missing modules

Solution - Java 9 changes to a modular architecture, which means that you need to tell Java to load certain modules required by the project.

Try including the java.xml.bind module with the --add-modules parameter:

java -Djsee.enableSNIExtension=false --add-modules java.xml.bind -jar gtfs-realtime-validator-webapp/target/gtfs-realtime-validator-webapp-1.0.0-SNAPSHOT.jar

SSL handshake still fails after following prerequisites

Symptom - I use java -Djsee.enableSNIExtension=false ... as instructed to run the app when retrieving GTFS or GTFS-realtime feeds from HTTPS URLs over SSL, but it fails with an error like javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching www.donneesquebec.ca found.

Solution - The underlying problem is probably with the server certificate configuration where the GTFS or GTFS-realtime data is hosted. You can try to change the parameter to -Djsse.enableSNIExtension=true instead, which has helped in the past for Linux deployments.

You can’t perform that action at this time.