Error: java.lang.NoClassDefFoundError in Jdeveloper 9.0.5.2.(Build 1618)

Error: java.lang.NoClassDefFoundError org.apache.struts.taglib.BaseHandlerTag
Hi,
We are using Jdeveloper10g version 9.0.5.2(Build 1618) as our IDE. We have a struts based controller architecture in our project. So we frequently use struts tags in our jsp pages. The application is working fine but sometimes when i do some changes in one of or a number of the jsp files in Jdeveloper , after recompiling i get the above error in number of jsps though i haven't touched those jsps at all.
I found a work around for this problem by just shutting down the Jdeveloper and again starting it.
It gives such kind of errors for only stuts based tag containing jsps.
Do anybody has any solution for this persistent problem.
My whole team is facing this problem.
With Warm Regards,
Datta.

No anyone knows?

Similar Messages

  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError:

    Dears
    I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         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)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
         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)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         ... 58 more
    Any body has faced a similar issue. Please let me know your views
    Best regards
    Mohamed Chargui

    The JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
    Jdeveloper 11.1.1.6 support is JSF 1.2.
    Upgrade to JDeveloper 11.1.2.0.0.
    With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>1.0.0.0_2-0-2</implementation-version>
    *<exact-match>true</exact-match>*
    </library-ref>
    Edited by: dvohra16 on Feb 28, 2013 6:43 AM

  • Error "java.lang.NoClassDefFoundError: sun/security/provider/Sun" in 10.1.2

    Hi,
    I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine.
    I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix page with data I get the following error:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: sun/security/provider/Sun     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:280)     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java(Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java(Inlined Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code))     at java.lang.Thread.run(Thread.java:568)
    Can anybody tell/help why I am getting this error?
    Thanks
    Syed

    I believe this counts to be a bug in adf. I met with such errors as well in migration 1012 from NT to AIX platform, and after decompiling adf jar code and tak a look at it, the following code block indicates that In class- oracle.jbo.client.Configuration
    , it is hard coded to get secure provider- sun/security/provider/Sun, as listed below...
    import sun.security.provider.Sun;
    static void checkSecurityProviders()
    Provider aprovider[] = Security.getProviders();
    boolean flag = false;
    for(int i = 0; i < aprovider.length; i++)
    if(!aprovider.getName().equals("SUN"))
    continue;
    flag = true;
    break;
    if(!flag)
    try
    Sun sun = new Sun();
    Security.addProvider(sun);
    catch(Exception exception)
    exception.printStackTrace();
    Adam

  • Error: java.lang.NoClassDefFoundError in execution

    Hi, I compile my code right but when I'm executing the code I get the following error:
    java.lang.NoClassDefFoundError: jahuwaldt/tools/NeuralNets/NeuronFactory
    This is my code:
    import jahuwaldt.tools.NeuralNets.*;
    public class Gene
    public FeedForwardNet OOLFFNet;
    public Gene(int newNumInput,int newNumOutput,int newNumHidden,int newNeuronHLayer)
      OOLFFNet = new FeedForwardNet(NumInput,NumOutput,NumHidden,NeuronHLayer, new BasicNeuronFactory() );This line that fails is the last one.
    In the directory of jahuwaldt/tools/NeuralNets I got the file NeuronFactory.class. So I don't know why the code compiles right but when it is in execution mode gives the error non class found, when the class is in the directory. Any help?. Thanks in advance

    Hi, thanks again. I'm stuck with this I have test several options but I still get the same error. These are some options that I have tried.
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\*.class; sim.app.OOL.OOLWithUI
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\NeuronFactory.class; sim.app.OOL.OOLWithUIWhere is the problem?, I think that they are the same that the example from the java help.
    java -classpath C:\java\MyClasses\myclasses.jar utility.myapp.Cool
    Thanks again.

  • Error: java.lang.NoClassDefFoundError.... what do I do?

    I'm kinda new to this.... Everything works fine on my Desktop machine (XP Pro), but I've tried twice now to install the SDK (1.5.0_05) on my laptop (XP Home) and here's the problem.
    When I create a simple classs (see example below) and compile it, everying goes ok and I get the FileName.class result. But when I try to run it ("C:\Documents and Settings\ .... \java directory > java FileName") I get the following error statement.
    Exception in thread "main" java.lang.NoClassDefFoundError: FileName
    What do I do to fix this?

    Hello,
    I have the same problem but I'm using Jbuilder. I allways get this error:
    java.lang.NoClassDefFoundError:
    Test Exception in thread "main"
    I don't even have a class called Test but whichever project I run gives this error. Even simple hello world programs. This question has been asked before but I couldn't find any real answers. Someone mentioned class paths but I don't know how to test this.
    Is anyone familiar with Jbuilder project options? I have JRE and JSE installed. Thanks.

  • Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHa

    I am using JDeveoper10.1.2 with JHeadStart
    I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
    Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
    Please help what could be the cause.

    I have another way to solve this problem!
    When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
    or
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
    If line (1) marked, change the prefix="html" to prefix="html1"
    If line (2) marked, find the lines like <bean:message key="link.something_here"/>
    and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
    I successfully using this way but only if one error happend at a time or two errors from two kinds of error
    This way is not as good as the previous way mentioned in previous post.

  • Error: java.lang.NoClassDefFoundError when Automatic Import Service loads

    Hi
    The netware server running NW 6.5sp4a has been reloaded due to hardware
    failure.
    All the data was restored to all volumes.
    When I run zfdstart I get the following error:
    error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
    Help !!!
    Thanks
    Minesh

    [email protected] wrote:
    > error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
    hmm... would say that the zeninstall wasn't correctly done... try
    reinstalling importing..
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Error 'java.lang.NoClassDefFoundError: rn exception in thread 'main'

    I have been trying to install Full ABAP Edition-trial version of SAP Netweaver 04s on Windows XP professional SP2. I am getting the error 'java.lang.NoClassDefFoundError: run exception in thread 'main' while trying to execute 'setup.exe' in the image folder.
    i have installed 'j2sdk-1_4_2_09' on the system. still i am getting the same error. can somebody help me.
    I reinstalled the operationg system still the problem persisits.
    Thanks!

    I solved this problem by reinstalling the operating system.
    after this, I tried to start SAP MMC, it gave another error user id and password not valid.
    To avoid this problem make sure that password for administrator of the Operation system (PC or Laptop) should match the password for SAP MMC.

  • Error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory

    error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory
    could please let me know why i am getting this error. I have coherence.jar and tangosol.jar in classpath.
    Edited by: tally_15 on Jun 23, 2010 6:12 AM

    Hi,
    Is it a new setup? Is CacheFactory the only class you can't access or you can't access any Coherence class?
    Thanks,
    Wei

  • Servlet error: java.lang.NoClassDefFoundError

    We have created OC4J instance on application server.
    Deployed single application (ear) consisting of one ejb module and one web module.
    We have deployed the application using OEM, it is installed successfully.
    When we try to access the action class following error is displayed,
    Servlet error:
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
    This problem does not occur always.
    We have been able to successfully deploy the same ear file on some ocassion.
    OS used: Linux Advanced server 2.1
    Application server: 10g (9.0.4)

    Hi, here is my CLASSPATH setting,
    CLASSPATH=d:\ptc\Windchill\codebase;d:\ptc\Windchill\codebase\WEB-INF\lib\ie.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\JGL.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xerces.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\saxon.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xalan.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\mail.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\activation.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\soap.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\jnilib
    the wt.content package is packed into the wt.jar, and the wt.jar is in the d:\ptc\Windchill\codebase directory.

  • [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError:

    the Message Queue & the client have been running for days. Today my Connection ExceptionListener caught a Exception with the following message:
    [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError: com/etang/dispatch/DispatchItem
    I must say the class is definitely available( when I restart the client, it is OK), anyone has got the same problem?
    I've updated the package containing the "lost" class fie while the client is running. Would this contribute to the exception?
    MQ3.5 SP1 Platform Edition

    I use j2sdk1.4.2_07 for last 8 months. Now I got a error while interpreting the class file like Exception in thread "main" java.lang.NoClassDefFoundError: check.
    I am sure definitely I have the class in the current directory.
    I reinstall the j2sdk1.4.2_07 again I got the same error.
    Reply me if anybody solve the error like this.

  • When get into ESR ,,error - java.lang.NoClassDefFoundError

    Hi expert!!
    I got the error ( java.lang.NoClassDefFoundError) when getting into ESR..
    for the detail , occured after clicking logon buttom.
    the error  occured when getting into ESR only. no problem with  ID, RWB, SR, SLD, NWA.
    i used JDK 1.6 with my laptop, but once got the above error,
    i tried to change JDK 1.6.0_24  to 1.5.0_22, but same happened.
    restore achives and generate new signature  didn't help this error.
    all of host on exchange proflie used FQDN.
      the following is for components info regarding PI 7.1
    =========================================================================================
      sap.com SAP-XIAFC    1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_BUILDT  1000.7.11.0.0.20081028231700 SAP AG
      sap.com SAP_XIAF      1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIESR    1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIGUI     1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_XITOOL 1000.7.11.0.0.20081209013800 SAP AG
    thanks
    bangbang

    Hi,
    Please clarify:
         Are you getting this error in a freshly installed system or in the system which was working fine earlier?
         Have you done any patching or upgaradationd recently?
    Please refer to the sap notes below which may help to resolve your issue:
    #1515991
    #1452561
    Regards,
    Naveen.

  • ERROR:JAVA.LANG.CLASSCASTEXCEPTION WITH JDEVELOPER 10.0.1.3

    I´m trying to use JSTL functions but I have the error
    "Error:java.lang.ClassCastException with JDeveloper 10.0.1.3".
    When I make or rebuild the code I have the error.
    The test <c:when test="${fn:length(P_LIGACOES) > 0}" > has error. I´ve been
    used others functions and the error is the same.
    Please, see JSP code as follows:
    <%@ page import="java.text.DateFormat"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.text.NumberFormat"%>
    <%@ page import="com.celesc.tf.BilheteTelefonico"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Ligações Telefônicas</title>
    <style type="text/css">
    Body{
    background-image: url(images/fdo.jpg);
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    </style>
    <link href="css/ligtel.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <h1 align=center> </h1>
    <h1 align=center> </h1>
    <c:choose>
    <c:when test="${!empty mensagem}">
    <h1 align=center>
    <img src="images/erro.jpg"><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif"><c:out value="${mensagem}"/></font></h1>
    </c:when>
    <c:otherwise>
    <%
    Vector ligacoes = (Vector) request.getAttribute("P_LIGACOES");
    SimpleDateFormat formato = new SimpleDateFormat("dd/MM/yyyy
    HH:mm:ss");
    double totalligacoes = 0;
    NumberFormat preco = NumberFormat.getCurrencyInstance();
    %>
    <c:choose>
    <c:when test="${fn:length(P_LIGACOES) > 0}" >
    <h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif">Nenhuma ligação Realizada</font></h1>
    </c:when>
    <c:otherwise>
    <h1 align=center><font size="5" face="Verdana, Arial, Helvetica,
    sans-serif">Relação das Ligações</font></h1>
    <table class="table-normal" width="70%" align="center">
    <tr class="table-result">
    <td colspan="5"><b><%= ligacoes.size()%> </b> Ligações Realizadas</td>
    </tr>
    <tr class="table-title">
    <td>Fone Chamado</td>
    <td>Ramal</td>
    <td>Data</td>
    <td>Duração</td>
    <td>Custo(R$)</td>
    </tr>
    <c:forEach items="${P_LIGACOES}" var="bilhete">
    <tr class="table-content">
    <td><c:out value="${bilhete.numeroChamado}"/></td>
    <td><c:out value="${bilhete.ramalOrigem}"/></td>
    <td><c:out value="${bilhete.dataLigacao}"/></td>
    <td><c:out value="${bilhete.duracao}"/></td>
    <!--<td><c:out value="${bilhete.custo}"/></td>-->
    <td><c:out value="${bilhete.custo}"/></td>
    <c:set var="totalligacoes" value="${totalligacoes +
    bilhete.custo}"/>
    </tr>
    </c:forEach>
    <tr class="table-result">
    <td colspan="4" align="right"><B>Total</B></td>
    <!-- <td ><B><%= preco.format(totalligacoes)%></B></td> -->
    <td><B><c:out value="${totalligacoes}" /></B></td>
    </tr>
    </table>
    </c:otherwise>
    </c:choose>
    </c:otherwise>
    </c:choose>
    </body>
    </html>

    Hi,
    Please make sure that there is no other version of *"net.nrj.alf.DimensionLabel"* class present in any other Class Loader
    There are various kind of Class Loaders : PreMordial Class Loader, BootStrap ClassLoader, System Class Loader (WebLogic ClassLoader), Application ClassLoader, Module Class Loader....
    net.nrj.service.SearchServiceProcessor java.lang.ClassCastException: net.nrj.alf.DimensionLabel java.lang.ClassCastException: net.nrj.alf.DimensionLabel If your code is working fine in WLS9.2 it means in WLS10.3.3 the same class is getting loaded from different Class Loaders...In order to find out which classLoader is being used to load that class please do the following:
    <b><font color=maroon>
    Class dimentionLevel=Class.forName("net.nrj.alf.DimensionLabel")
    ClassLoader cl=dimentionLevel.getClassLoader();
    System.out.println("\n\n\t DimentionLevel is loaded from ClassLoader: "+cl);
    </font></b>
    Above 3 Lines of code you need to write for "net.nrj.service.SearchServiceProcessor" class as well...Because i suspect that these two classes are getting loaded from two different class Loaders.
    If the Application Code is 100% correct The Main reason of ClassCastException is Classes are getting Loaded from two Different Class Loaders. You can also look at the Filtering ClassLoader Feature of WebLogic to Tell WebLogic to Load some Classes from a Specific ClassLoaders...As described Here .*http://middlewaremagic.com/weblogic/?page_id=192*
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?page_id=2261  (Middleware magic Is Here)

  • Weblogic 10.0 error java.lang.NoClassDefFoundError:

    Hi,
    I am using weblogic 10.0 and trying to upload the EAR which is build using Weblogic Workshop 8.1 SP4. i am gettign the following error:
    ####<Feb 13, 2010 2:36:48 AM IST> <Error> <Deployer> <STPLT1005> <AdminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1266008808529> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1266008804528' for task '0'. Error is: 'java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean'
    java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/AsyncDispatcherBean : weblogic/ejb20/interfaces/JmsMessageDrivenBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    Hello,
    I have not seen this particular error before, but if you can re-build the EJB using Workshop 10.0 I bet it will fix your problem. The old Workshop is running an old version of appc which the 10.0 version of WLS is probably not expecting.
    Kevin

  • JSP error java.lang.NoClassDefFoundError: org/apache/commons/fileupload/Fil

    I'm rather new to jsp. I'm using myeclipse and I'm deploying my site on tomcat. I've been slowly working away on the errors in my log files. Most of the problems that I've run into have been missing jar files. The log error that I'm stuck on follows:
    10:14:40,359 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.wolverinecrane.view.util.SecurityFilter.doFilter(SecurityFilter.java:77)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    In my buildpath I have commons-fileupload-1.0.jar which includes org.apache.commons.fileupload which has the class FileUpload.class in it.
    Any help on what may be going wrong here would be appreciated.
    Dan

    Solved:
    http://javalive.com/modules/newbb/viewtopic.php?topic_id=355&post_id=1013&order=0&viewmode=flat&pid=0&forum=4#forumpost1013

Maybe you are looking for

  • Unable to upload an rtf to templatein XML Publisher.

    Hi, I am getting the following error while uploading an rtf to the template in the XML Publisher Administrator. You are trying to access a page that is no longer active. - The referring page may have come from a previous session. Please select Home t

  • Adobe Photoshop CS5 has stopped responding

    This is a problem I've been encountering for quite some time now, and it began as soon as I installed the software. A short while after opening and using Photoshop, the program will "stop responding" and be forced to close. I use photoshop for drawin

  • My PC does not allow me to access Playbook files

    When I connect my PB to my computer to transfer or manage document file and I click on the Z drive, I get the following message: Z:\ is not accessible Logon Failure: unknown user name or bad password How do I fix this? Thanks

  • Deprecation Question

    I am very new at Java and was wondering if someone could give me some direction on this code sample. Ist probably something easy, but as I said I am very new. import java.awt.*; import java.applet.*; public class Mystery5 extends Applet{      Image B

  • HT4623 My iPhone 5 crashed when doing an update to iOS 6.1!!!! What do I do???

    My phone shut off when updating to iOS 6.1 it won't turn back on!!!! It's been a while :-( help!!!!