facebook

Weblogic deployment problems

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297879 Reply

    vrmerlin
    Member

    When I attempt the following steps:

    – installed MyEclipse 7.1 (full version)
    – installed Weblogic 10.3
    – created a Web project Foo (with Maven support)
    – added JSF capability
    – deploy Foo to the WebLogic application server

    I’m seeing this error:

    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    I noticed in the pom.xml that javax.faces has the following tag:

    <scope>provided</scope>

    If I *remove* this line, I can successfully deploy in a packaged mode, but not in an exploded mode (which is necessary for development). With this line, it doesn’t work in either mode.

    Perhaps the assumption is that it will use the Weblogic shared libraries for these packages? However, that doesn’t seem to be happening. Are there special circumstances that I’m not seeing where these shared libraries are seen or not seen?

    Thanks,
    John

    #297902 Reply

    Loyal Water
    Member

    John,
    I would suggest you cross post this query on the web logic forums as well since this looks like a weblogic related issue. I’ll check with the dev team if they have any suggestions for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Weblogic deployment problems

You must be logged in to post in the forum log in