Errors with 7.0.9 - FIXED

UI Components for JSF
Post Reply
NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

11 Nov 2019, 19:45

Just compiled my PrimeFaces App from 7.0.8 to 7.0.9.

Now won't compile with:
Error:(15, 28) java: package org.primefaces.event does not exist
Error:(340, 29) java: cannot find symbol
symbol: class SelectEvent
location: class com.gostophandle.controller.MotorcycleController
Using build.gradle:
compile group: 'org.primefaces', name: 'primefaces', version: '7.0.9'
earlib group: 'org.primefaces', name: 'primefaces', version: '7.0.9', ext: 'jar'
If I uses 'primefaces-7.0.8' it shows 'lib/primefaces-7.0.8.jar' & and 'META-INF' & 'org.primesfaces'

but '7.0.9' show nothing else since the JAR.

Any known issues both others with the 7.0.9?
Last edited by NOTiFY on 15 Nov 2019, 16:42, edited 1 time in total.
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

14 Nov 2019, 15:41

Announcements - PrimeFaces 6.2.25 and 7.0.8 Released
Has 7.0.9 been really released?

Still can't get it to compile!
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

14 Nov 2019, 16:07

Hi,

Could you create a github issue with a sample project for this? Also, https://www.primefaces.org/primefaces-6 ... -released/

Best Regards,

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

14 Nov 2019, 16:21

But I'm doing nothing to my code at all. If I change the JAR to 7.0.9 and I got the errors. Switch back to the 7.0.8 JAR and everything is working.

I can't write a 'sample project' it won't show anything. The error, as above is:
Error:(15, 28) java: package org.primefaces.event does not exist
Error:(340, 29) java: cannot find symbol
symbol: class SelectEvent
location: class com.gostophandle.controller.MotorcycleController
It looks like: "org.primefaces.event.SelectEvent" is missing now in the JAR.

If I copy JAR 7.0.8 it will compile.
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

15 Nov 2019, 01:41

You can write a sample project. Even if it is very small and does not compile (compiling is your issue so that is fine), it might help others find the cause.

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

15 Nov 2019, 16:26

Not sure if it was an error by myself or a problem with the 'beta' version of IntelliJ IDEA. 2019.3.

It was using PrimeFaces-7.0.8 instead of 7.0.9. Updated the IntelliJ IDEA 'Project Structure' and included 7.0.9.
PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests