4 Replies Latest reply on Mar 30, 2010 3:06 AM by wuhaixing.wuhaixing.gmail.com

    Security seamspace example's entityManager

    wuhaixing.wuhaixing.gmail.com

      I had check out the seam 3 security from repos and built successful.
      But I don't know why use @Inject EntityManager in the seamspace example,so I chang it to @PersistenceContext,and then when I deploy the packaged war into the jboss-6.0.0.20100216-M2,I got an UnSupportOperationException,error information as follow:



      22:30:29,020 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfsfile:/C:/Java/jboss-6.0.0.20100216-M2/server/default/deploy/seamspace.war/ state=Clas
      sLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/Java/jboss-6.0.0.20100216-M2/server/default/dep
      loy/seamspace.war/



      Why this happened,and what it mean?