My guess is that you have to include the dependency
org.eclipse.jdt.core.compiler:ecj:ecj-3.6.jar in your classpath.
Unfortunately, this dependency referred to by the Tomcat 7 dependencies does
not exist in the Maven Central repository. Apparently, the Tomcat guys did a
sloppy job of making sure all transitive dependencies can be resolved.
Multiple people complained about this and it hasn't been fixed yet.

Anyway...try to download that library from the Eclipse page and put it into
your local repository. If you have your own repo then put it in there or
define a repository on your local disk where you can drop it in. 

repositories {
     flatDir name: 'localRepository', dirs: 'lib'
} 

In your Tomcat dependencies do not exclude it then. Let me know if that
fixes your problem.

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Strange-classpath-issue-when-starting-tomcat-7-programmatically-tp4288368p4384273.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to