Target Unreachable, identifier resolved to null

前端 未结 4 470
走了就别回头了
走了就别回头了 2021-01-21 03:49

I\'m trying to run j2EE project on external server. Project was made in NetBeans (6.7.1) and when I run it from there, everything\'s going fine (I run it on GlassFish v3 server)

相关标签:
4条回答
  • 2021-01-21 04:19

    In my case the reason was completely different.

    I copied a class including serialVersionUID field:

    private static final long serialVersionUID = 5443351151396868724L;
    

    so I had two different classes and objects with the same serialVersionUID and this was the clue of the problem.

    0 讨论(0)
  • 2021-01-21 04:22

    I cleaned all my project the websphere republished the ear automatically. After that the application was working.

    0 讨论(0)
  • 2021-01-21 04:34

    Please you check your war file and see if your classes are under WEB-INF/classes folder. I ran into the same problem and found out there are no class files WEB-INF/classes folder.

    0 讨论(0)
  • 2021-01-21 04:37

    Had the same issue. Problem was wrong import. Instead of javax.enterprise.context.SessionScoped, I had javax.faces.bean.SessionScoped which didn't work and was throwing mentioned exception.

    0 讨论(0)
提交回复
热议问题