I made a new struts project in eclipse using the struts2-archtype-starter.
A few errors where in my project already before doing anything. Solved most of them but th
You can't use tools.jar from a repository.
Sadly, something in your dependency tree thinks that you can. So, you have to use an 'excludes' to get rid of the existing dependency, and then replace it with the following.
If you make the version in the below match that in the error message, you might not need the 'excludes'.
You need:
default-tools.jar
java.vendor
Sun Microsystems Inc.
com.sun
tools
whatever
system
${java.home}/../lib/tools.jar