Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Cannot start gradle built project on eclipse tomcat
Cannot start gradle built project on eclipse tomcat [message #1803564] Mon, 04 March 2019 05:46
Eclipse UserFriend
Here are my project structure (roughly) :

|root1
    | projA
        |build.gradle
    | projB
        |build.gradle
    | build.gradle
    | gradle.setting
|root2
    | projC
         |build.gradle 


and so on...

It is a multi-project build gradle project (actually I was not using gradle before, and I am just converting from a non-gradle project to a gradle project, if this is relevant)

My root1 and root2 gradle setting is just like :

plugins{
    id "java"
    id "eclipse-wtp" //I read somewhere that in order to integrate with eclipse tomcat server, one must have this
}

dependendencies{...}

project(':projA'){
    apply plugin: 'eclipse-wtp'
}

project(':projB'){
    apply plugin: 'eclipse-wtp'
}


And inside root1/settings.gradle :

include ':projA', ':projB'
Everything works fine with gretty, tomcatRun task, but it doesnt ease the work of other developer, because previously we ran debug mode from server configuration (1 click away), I understand that with gretty and built-in gradle tomcat I can debug through debug configuration->remote debugging

My real question is, what did I do wrong because when I tried running the server through eclipse server configuration there are a lot of missing dependencies (which I specified in project(':projA') dependency), somehow it does not getting the libraries from gradle caches (I check the build path, and all the library are all there but thus not included when running my server.
Previous Topic:Tomcat embedded in Eclipse doesn't work when launched from Eclipse. What have I done wrong?
Next Topic:Eclipse Oxygen - Deploy Assembly problem - Spring-web and ear lib
Goto Forum:
  


Current Time: Mon Jul 07 03:07:35 EDT 2025

Powered by FUDForum. Page generated in 0.04239 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top