WAR file: No Annotated class using @PushEndpoint found
Posted: 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!
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!