What are the pre-requisites for using "Enable Workspace Resolution" in a Kotlin/Tomcat/Eclipse/Maven project?

794 views Asked by At

UPDATE

I edited the question after doing additional troubleshooting and realizing that the issue is specific to Kotlin and not a general problem with Eclipse.

ORIGINAL QUESTION

In an earlier question, I found that I need to set the Disable Workspace Resolution setting in order to successfully deploy applications to Tomcat within Eclipse, when the application has references to co-developed dependencies (i.e. dependencies which I am also primarily developing along with the main application). The Disable Workspace Resolution setting has many inconveniences, not the least of which is a need to run mvn install any time the code in a dependency project is modified.

My question now is:

What do I need to configure, either in Eclipse, Maven, or Tomcat, in order to start using Enable Workspace Resolution successfully with Kotlin?

I have reviewed essentially all of the SO questions on the topic, unfortunately none of them specifically address Eclipse with Kotlin:

1

There are 1 answers

1
Ravi Mengar On

Go through following steps,

  • Enable Workspace Resolution for your project.

  • Right-click the project, then Maven > Enable Workspace Resolution.

Finally, if your project no longer resolved,

  • Right-click the project, then Maven > Update Project

This should resolve your problem. If after this, your dependencies are still referenced from the file system, test the groupId, artifactId and particularly model of each dependency again.

And check if you don't have any errors in your project

  • try to run Maven install.