WAR file: No Annotated class using @PushEndpoint found

UI Components for JSF
Post Reply
atruszek
Posts: 11
Joined: 21 Jul 2010, 14:11

21 Sep 2016, 14:32

Hi,

if You use Spring Boot (java -jar myapp.war) or You don't unpack WAR in servlet container (Tomcat: unpackWARs="false") Push aka Atmosphere can't scan / detect @PushEndpoint annotation, because he can't load classes from WAR file.

ERROR - No Annotated class using @PushEndpoint found. Push will not work.

I've tried with all version of Atmosphere...no luck

Maven dependencies:
...
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>5.3</version>
</dependency>

<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>2.4.1</version>
</dependency>
...


If You start Primefaces showcase in Tomcat without unpacking war, Push will not work too. Give a try!
PrimeFaces 3.2
Testing on: Tomcat 6, Windows 7 x64, MySQL 5.x

jluismoran
Posts: 1
Joined: 17 Apr 2017, 01:28

17 Apr 2017, 01:44

In my case, it was because an incompatibility between primefaces and atmosphere-runtime versions. The weird thing is that I need different atmosphere-runtime versions in Linux and Windows even if I'm using the same versions of primefaces, wildfly and java in both machines :shock: :shock: :shock: . In example, in Linux my application works with atmosphere-runtime 2.3.1 and in windows I need the 2.4.6 version but in both OS I am using primefaces 6, wildfly 10 and java 8.

lisaaustin
Posts: 1
Joined: 08 May 2017, 13:01
Contact:

08 May 2017, 13:13

If there's any student who want to take crash classes of annotated through prime faces https://www.assignmenthelponline.net/as ... rvices-us/ upcoming exams which's held after the summer vacations holidays.

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

18 Aug 2017, 19:44

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests