views:

127

answers:

1

When I run my grails application locally under Tomcat, I get no errors. When I deploy my WAR on my remote web server, I get this exception when I try to make an AJAX request that uses HTTPBuilder.

How could this be happening?

+1  A: 

Are you running your application is an IDE like STS? if so maybe the Jars for HTTPBuilder are in your build/run path but are not in your lib directory for the Grails app OR not listed as a "Production" Dependency.

Scott Warren
...yeah. They were on my path but not in the WAR. Sometimes I think the notion of the Java classpath obfuscates visibility.
Stefan Kendall
Have to agree. Glad I could help.
Scott Warren