We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 470b19e + 2bde4f3 commit 710281fCopy full SHA for 710281f
grails-bootstrap/src/main/groovy/grails/util/Environment.java
@@ -292,8 +292,11 @@ public static boolean isWarDeployed() {
292
if(loadedLocation != null && loadedLocation.getPath().contains("/WEB-INF/classes")) {
293
return true;
294
}
295
+ // Workaround for weblogic who repacks files from 'classes' into a new jar under lib/
296
+ if (loadedLocation != null && loadedLocation.getPath().contains("_wl_cls_gen.jar!/")) {
297
+ return true;
298
+ }
299
return false;
-
300
301
302
/**
0 commit comments