facebook

jars not deploying

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #297785 Reply

    vrmerlin
    Member

    I’m new to MyEclipse and having a basic problem getting started. I’ve done the following:

    – installed MyEclipse 7.1 (full version)
    – installed Weblogic 10.3
    – created a Web project Foo (with Maven support)
    – added JSF, IceFaces, and IceFace Facelets capabilites
    – created an Enterprise Application Project enterprise-Foo that includes Foo as a module
    – deployed enterprise-Foo to the Weblogic server

    Unfortunately, any pages I make are not loading because the proper jar files are not there (I’m getting a bunch of NoClassDefFound errors on the server console).

    I think the problem I’m having is that the jars listed under the “Maven Dependencies” directory are not being shown under the WEB-INF\lib directory — it’s empty. Why is it empty? shouldn’t that have the same list of jar files (JSF/Icesfaces, etc)? What did I do wrong?

    Thanks,
    John

    *** Date:
    Wednesday, April 22, 2009 4:37:08 PM PDT

    ** System properties:
    OS=WindowsVista
    OS version=6.0.0
    Java version=1.6.0_12

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.1.1
    Build id: 7.1.1-20090310

    *** Eclipse details:
    Eclipse Platform

    Version: 3.4.2
    Build id: M20090211-1700

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200902181337

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    C:\apps\ganymede\\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp
    -launcher
    C:\apps\ganymede\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\apps\ganymede\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\apps\ganymede\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -framework
    plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
    -vm
    C:\apps\Java\jdk1.6.0_12\bin\..\jre\bin\client\jvm.dll

    #297826 Reply

    Loyal Water
    Member

    Hi,
    Can you zip up your project by going to File > Export > Archive and send it over to me so that I can replicate this issue at my end. Also, can you list the steps I need to follow to replicate this issue.

    #297828 Reply

    vrmerlin
    Member

    Upon further investigation, this is the problem I’m seeing:

    https://www.genuitec.com/forums/topic/issues-with-myeclipse-project-deployer-for-weblogic/&start=0&postdays=0&postorder=asc&highlight=

    In particular, 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)

    Strange thing is that I can physically see the jsf-api-1.2_04.jar file in the deployed application.

    Was there a resolution for this problem?

    John

    #297857 Reply

    Loyal Water
    Member

    John,
    I looks like the jar is being deployed but the project is not picking up the jars. Thats weird.

    You should cross post this query on the weblogic forum. I’ll check with my dev team if they have any clues for you.

    #297878 Reply

    vrmerlin
    Member

    I have a zip/recipe that demonstrates the problem — where do I send it?

    One thing I noticed is that in the pom.xml, about 5 libraries (including javax.faces) have the following tag:

    <scope>provided</scope>

    while others do not. If I *remove* these lines, I can successfully deploy in a packaged mode, but not in an exploded mode (which is necessary for development). With these lines, 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

    #297948 Reply

    Loyal Water
    Member

    John,
    I’ll forward the project to the dev team. I’ll let you know when I get back an update from them.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: jars not deploying

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