5 Replies Latest reply on Oct 25, 2016 7:25 PM by Joe C

    com/sun/java/swing/plaf/windows/WindowsLookAndFeel

    Vismay h Newbie

      Hi,

       

      I am new to Jboss 7.   I have Jboss 7.0.1 build with JDK - jdk1.6.0_38. (64-bit)  I have managed to migrate my  ".war" files  from Jboss 4.23.000 to Jboss 7.0.1 . But I am keep getting the below mentioned exception an my application does not seems to be working..

      Can someome please give me a hint why I am getting this exception..?  I did some cross check to see if the  "rt.jar" present in the JRE bundle has  WindowsLookAndFeel   class, Yes its there ..

      thanks in idvance.

       

       

      09:53:19,497 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (MSC service thread 1-2) StandardWrapper.Throwable: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel

      at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_38]

      at java.lang.Class.forName(Class.java:169) [rt.jar:1.6.0_38]

      at com.trinagy.util.UtilityFactory.loadClass(UtilityFactory.java:107) [pijni.jar:]

      at com.trinagy.util.UtilityFactory.newSystemPlatform(UtilityFactory.java:163) [pijni.jar:]

      at com.trinagy.util.TrendHome.<init>(TrendHome.java:49) [piweb.jar:]

      at com.trinagy.servlet.TRENDwebServlet.initializeHome(TRENDwebServlet.java:184) [piweb.jar:]

      at com.trinagy.servlet.TRENDwebServlet.init(TRENDwebServlet.java:146) [piweb.jar:]

      at com.trinagy.servlet.ReportViewerServlet.init(ReportViewerServlet.java:195) [piweb.jar:]

      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.10.Final.jar:]

      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.10.Final.jar:]

      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.10.Final.jar:]

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.10.Final.jar:]

      at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]

      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]

      Caused by: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel from [Module "deployment.tw-app.war:main" from Service Module Loader]

      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)