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!
WAR file: No Annotated class using @PushEndpoint found
-
- Posts: 1
- Joined: 17 Apr 2017, 01:28
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 . 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.
-
- Posts: 1
- Joined: 08 May 2017, 13:01
- Contact:
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.
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
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 52 guests