2

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:

Alex R
  • 11,364
  • 15
  • 100
  • 180

1 Answers1

0

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.
Ravi Mengar
  • 1,181
  • 1
  • 11
  • 18
  • These steps don't work (I get ClassNotFoundException). So I decided to award the bounty but keep the question open. – Alex R Oct 01 '19 at 04:29