Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将 jdbc 依赖项移至 Maven,但我仍需要手动将其添加到我的 Eclipse 运行配置中,以便在运行时使用 eclipse Run As 找到它(见图)。我需要做什么才能在 Eclipse 运行时自动添加/找到这个 jar?
listEntry runtimeClasspathEntry containerPath=org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER
有点hackish,但现在工作正常。