3 Replies Latest reply on May 8, 2012 7:47 PM by 772286

    Error when "run" the "helloworld" project

    user2393522
      Hello the expert,

      I am a newbie to the Weblogic. I am trying to setup a helloworld project on Eclipse using Weblogic server. When I "run" the project, I got the following error below. Could anyone please point me out what I did wrong on my setup?

      Thanks,
      Vincent


      My web.xml is as the following

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
           <display-name>helloworld</display-name>
           <welcome-file-list>
                <welcome-file>home/index.jsp</welcome-file>
           </welcome-file-list>
      </web-app>



      =================================================================================

      <May 2, 2012 7:03:39 AM EDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application D:\first_Weblogicview\SoftwareRelease\Development\SourceCode\web\helloworld. Please make sure that the annotations are valid. The error is >
      <May 2, 2012 7:03:39 AM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1335956596075' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'helloworld''
      weblogic.application.ModuleException: Failed to load webapp: 'helloworld'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
           Truncated. see log file for complete stacktrace
      >
      <May 2, 2012 7:03:40 AM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application '_auto_generated_ear_'.>
      <May 2, 2012 7:03:40 AM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
      weblogic.application.ModuleException: Failed to load webapp: 'helloworld'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
           Truncated. see log file for complete stacktrace