Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top