Stefan Kendall
Stefan Kendall

Reputation: 67802

java.lang.NoClassDefFoundError: groovyx.net.http.HTTPBuilder

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?

Upvotes: 2

Views: 2123

Answers (1)

Scott Warren
Scott Warren

Reputation: 1591

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.

Upvotes: 4

Related Questions