Skip to content

Instantly share code, notes, and snippets.

@jesperronn
Created September 13, 2012 14:27
Show Gist options
  • Save jesperronn/3714645 to your computer and use it in GitHub Desktop.
Save jesperronn/3714645 to your computer and use it in GitHub Desktop.
Weblogic prefer local classes fail on weblogic deploy
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:50.578s
[INFO] Finished at: Thu Sep 13 16:19:22 CEST 2012
[INFO] Final Memory: 128M/223M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "DesktopBuild" could not be activated because it does not exist.
[WARNING] The requested profile "LocalNoZips" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project play-pilot: An Ant BuildException has occured: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 25 failed: [Deployer:149026]deploy application play-frontend on devWlfAdmin.
[ERROR] Target state: redeploy failed on Server devWlfAdmin
[ERROR] java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory
[ERROR] at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:135)
[ERROR] at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:153)
[ERROR] at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:101)
[ERROR] at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:138)
[ERROR] at net.sf.ehcache.CacheManager.parseConfiguration(CacheManager.java:506)
[ERROR] at net.sf.ehcache.CacheManager.init(CacheManager.java:289)
[ERROR] at net.sf.ehcache.CacheManager.<init>(CacheManager.java:280)
[ERROR] at net.sf.ehcache.CacheManager.create(CacheManager.java:641)
[ERROR] at play.cache.EhCacheImpl.<init>(EhCacheImpl.java:31)
[ERROR] at play.cache.EhCacheImpl.newInstance(EhCacheImpl.java:41)
[ERROR] at play.cache.Cache.init(Cache.java:241)
[ERROR] at play.Play.start(Play.java:511)
[ERROR] at play.Play.init(Play.java:300)
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment