Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-221

IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      SEVERE: Error deploying web application directory /home/jlf/Downloads/apache-tomee-plus-1.0.0/webapps/ROOT
      java.lang.IllegalArgumentException: Class 'java.lang.Object' is not annotated with Path
      at org.apache.cxf.jaxrs.impl.UriBuilderImpl.path(UriBuilderImpl.java:333)
      at org.apache.openejb.server.rest.RESTService.getAddress(RESTService.java:328)
      at org.apache.openejb.server.rest.RESTService.deployPojo(RESTService.java:265)
      at org.apache.openejb.server.rest.RESTService.afterApplicationCreated(RESTService.java:173)
      at org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(TomeeJaxRsService.java:55)
      at org.apache.tomee.catalina.WebDeploymentListeners.afterApplicationCreated(WebDeploymentListeners.java:38)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.afterStart(TomcatWebAppBuilder.java:818)
      at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:103)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:168)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
      at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: