Doesn't run with tomcat8 #161
- antiJarLocking is no longer supported in Tomcat 8. Because we have will move towards Spring Boot we will have a much better way to reload plugins so investigating the difference between Tomcat 7 and 8 is not the way to go.
This commit is contained in:
parent
fc30ed9920
commit
2d39ab90d2
@ -55,7 +55,6 @@ public class PluginsLoader {
|
|||||||
try {
|
try {
|
||||||
if (!alreadyLoaded) {
|
if (!alreadyLoaded) {
|
||||||
WebappClassLoader cl = (WebappClassLoader) Thread.currentThread().getContextClassLoader();
|
WebappClassLoader cl = (WebappClassLoader) Thread.currentThread().getContextClassLoader();
|
||||||
cl.setAntiJARLocking(true);
|
|
||||||
List<URL> jars = listJars();
|
List<URL> jars = listJars();
|
||||||
for (URL jar : jars) {
|
for (URL jar : jars) {
|
||||||
cl.addRepository(jar.toString());
|
cl.addRepository(jar.toString());
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Context antiJARLocking="true" path="/WebGoat">
|
<Context path="/WebGoat">
|
||||||
|
|
||||||
</Context>
|
</Context>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Context antiJARLocking="true" path="/WebGoat"/>
|
<Context path="/WebGoat"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user