We are using Gradle as our build script to generate .classpath for Eclipse projects. After the projects are imported and built, we also need to start Tomcat from Eclipse through Eclipse Tomcat plugin. Recently we have upgraded Gradle from 4.2 t 4.5.1, and run into Tomcat Eclipse plugin not supporting the later Gradle version issue.
The error we are getting when starting tomcat is: "org.eclipse.core.runtime.CoreException: The archive: /<abc>/bin/default which is referenced by the classpath, does not exist.", where <abc> is one of the projects' name. And indeed we only see /<abc>/bin folder but not /<abc>/bin/default in the workspace. To workaround this problem, we have to delete this new entry in .classpath of every projects that required to be built to be able to start Tomcat.</abc></abc></abc></abc>
Please see if you need to make Eclipse Tomcat plugin to be compatible with the new Gradle change.
Our Environment:
Eclipse: oxygen
Eclipse Tomcat plugin: 9.1.2
Tomcat: 7.0.45
I am not sure if this issue is actually caused by the Tomcat Plugin. Do you get the same error, when you try to start a unit test or a simple class with a public static void main(String args[]) - method?