Page 1 of 1

WAR file: No Annotated class using @PushEndpoint found

Posted: 21 Sep 2016, 14:32
by atruszek
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!

Re: WAR file: No Annotated class using @PushEndpoint found

Posted: 17 Apr 2017, 01:44
by jluismoran
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.

Re: WAR file: No Annotated class using @PushEndpoint found

Posted: 08 May 2017, 13:13
by lisaaustin
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.

Re: WAR file: No Annotated class using @PushEndpoint found

Posted: 18 Aug 2017, 19:44
by Melloware