<Mojarra 2.3 ticket> <p:ajax event="tabChange"> always null

UI Components for JSF
NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

02 Dec 2020, 18:01

Found a tempory solution from 2013 @ https://stackoverflow.com/questions/144 ... ax-element

Code: Select all

public void onTabChange(AjaxBehaviorEvent event) {
        LOGGER.info(">>>>> onTabChange AjaxBehaviorEvent = {}", event);
 }

Code: Select all

15:52:24,289 INFO  [com.gostophandle.controller.NOTiFYMotorcycleController] (default task-1) >>>>> onTabChange AjaxBehaviorEvent = org.primefaces.event.TabChangeEvent[source=org.primefaces.component.tabview.TabView@545e8243]
This stops my 'blocker' but can't used 'tabView/tab' correctly as in 'onTabChange(TabChangeEvent event)'.

Thanks for all the help.
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

05 Dec 2020, 17:24

Primefaces 4.0 tries to call wrong tabChange event handler (AccordionPanel inside TabView)
@ 'It seems that it was a PrimeFaces bug, fixed for PF >= 5 :" &

See: https://stackoverflow.com/questions/221 ... anel-insid

Though from last 8 -> 6 years. I believe it's still present @ https://code.google.com/archive/p/prime ... ssues/3876

Also I can't get Tab/TabView using 'AjaxBehaviorEvent' either.

Any suggests?
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

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

05 Dec 2020, 19:13

If you create a reproducible test case using PF Test I can debug it: https://github.com/primefaces/primefaces-test

And if it is an issue we can open an issue ticket.

Also the Showcase example here: https://www.primefaces.org/showcase/ui/ ... View.xhtml uses "Events" and seems to work fine?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

05 Dec 2020, 19:39

Melloware wrote:
05 Dec 2020, 19:13
Also the Showcase example here: https://www.primefaces.org/showcase/ui/ ... View.xhtml uses "Events" and seems to work fine?
Yes I agree that 'TabView TabView is a tabbed panel component - Events" works fine, using "mvn jetty:run".

I thinking about trying to get 'showcase' building, deploy from Gradle on WildFly 21.0.0.Final, Weld 3.1.5.Final & CDI 2.0 using JDK 15.0.1 etc. deployed as an EAR.

It may be useful for others too?
Last edited by NOTiFY on 05 Dec 2020, 19:42, edited 1 time in total.
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

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

05 Dec 2020, 19:41

Well I would think it would be more your JSF version no? And PF TEst allows you to test with MyFaces 2.2 and 2.3 and Mojarra 2.2 and 2.3.

Code: Select all

mvn clean jetty:run -Pmyfaces22

mvn clean jetty:run -Pmyfaces23

mvn clean jetty:run -Pmojarra22

mvn clean jetty:run -Pmojarra23
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

06 Dec 2020, 23:40

Using: Mojarra 2.3.14.SP01 (WildFly 21.0.1.Final) with

Code: Select all

INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 85) Initializing Mojarra 2.3.14.SP01 for context '/GoStopHandle'

Code: Select all

openjdk version "15.0.1"
I've run all 'tests' & gave 'Welcome to PrimeFaces!!':
mvn clean jetty:run -Pmyfaces22 - "Welcome to PrimeFaces!!!"
mvn clean jetty:run -Pmyfaces23 - "Welcome to PrimeFaces!!!"
mvn clean jetty:run -Pmojarra22 - "Welcome to PrimeFaces!!!"
mvn clean jetty:run -Pmojarra23 - "Welcome to PrimeFaces!!!"
I Download: https://github.com/primefaces/primeface ... es/tag/8.0 & run: mvn jetty:run.

Code: Select all

[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.primefaces.context.PrimePartialResponseWriterTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.primefaces.context.PrimePartialResponseWriterTest
[INFO] Running org.primefaces.util.ComponentUtilsTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.util.ComponentUtilsTest
[INFO] Running org.primefaces.util.SecurityUtilsTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 s - in org.primefaces.util.SecurityUtilsTest
[INFO] Running org.primefaces.util.WidgetBuilderTest
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s - in org.primefaces.util.WidgetBuilderTest
[INFO] Running org.primefaces.util.EscapeUtilsTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.primefaces.util.EscapeUtilsTest
[INFO] Running org.primefaces.util.ComponentTraversalUtilsTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in org.primefaces.util.ComponentTraversalUtilsTest
[INFO] Running org.primefaces.util.CalendarUtilsTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 s - in org.primefaces.util.CalendarUtilsTest
[INFO] Running org.primefaces.util.HtmlSanitizerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in org.primefaces.util.HtmlSanitizerTest
[INFO] Running org.primefaces.util.ArrayUtilsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.primefaces.util.ArrayUtilsTest
[INFO] Running org.primefaces.util.FileUploadUtilsTest
Dec 07, 2020 6:35:04 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Dec 07, 2020 6:35:05 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Dec 07, 2020 6:35:05 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
Dec 07, 2020 6:35:05 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:05 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:05 AM org.primefaces.util.FileUploadUtils isValidType
WARNING: The type of the uploaded file test.PNG could not be validated
javax.script.ScriptException: java.lang.NullPointerException: JavaScript ScriptEngine not available via the context ClassLoader or the extension ClassLoader.
	at org.primefaces.util.FileUploadUtils.isValidFileName(FileUploadUtils.java:176)
	at org.primefaces.util.FileUploadUtils.isValidType(FileUploadUtils.java:143)
	at org.primefaces.util.FileUploadUtilsTest.isValidTypeFilenameCheck(FileUploadUtilsTest.java:91)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:675)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:125)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:132)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:124)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:74)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:104)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:62)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:43)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:35)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:202)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:198)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.NullPointerException: JavaScript ScriptEngine not available via the context ClassLoader or the extension ClassLoader.
	... 68 more

Dec 07, 2020 6:35:05 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:05 AM org.primefaces.util.FileUploadUtils isValidFileContent
WARNING: Could not determine content type of uploaded file test.png, consider plugging in an adequate FileTypeDetector implementation
Dec 07, 2020 6:35:05 AM org.primefaces.util.FileUploadUtils isValidFileContent
WARNING: Could not determine content type of uploaded file test.tif, consider plugging in an adequate FileTypeDetector implementation
Dec 07, 2020 6:35:05 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.927 s <<< FAILURE! - in org.primefaces.util.FileUploadUtilsTest
[ERROR] isValidTypeFilenameCheck  Time elapsed: 0.04 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.primefaces.util.FileUploadUtilsTest.isValidTypeFilenameCheck(FileUploadUtilsTest.java:91)

[INFO] Running org.primefaces.config.WebXmlParserTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 s - in org.primefaces.config.WebXmlParserTest
[INFO] Running org.primefaces.el.ValueExpressionAnalyzerTest
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
Dec 07, 2020 6:35:06 AM org.primefaces.config.PrimeEnvironment resolveBuildVersion
SEVERE: PrimeFaces version not resolvable - Could not load pom.properties.
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s - in org.primefaces.el.ValueExpressionAnalyzerTest
[INFO] Running org.primefaces.component.inputmask.InputMaskTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.primefaces.component.inputmask.InputMaskTest
[INFO] Running org.primefaces.component.messages.MessagesRendererTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in org.primefaces.component.messages.MessagesRendererTest
[INFO] Running org.primefaces.component.datepicker.DatePickerTest
[INFO] Tests run: 82, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.44 s - in org.primefaces.component.datepicker.DatePickerTest
[INFO] Running org.primefaces.component.effect.EffectBuilderTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.primefaces.component.effect.EffectBuilderTest
[INFO] Running org.primefaces.component.terminal.TerminalAutoCompleteTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.component.terminal.TerminalAutoCompleteTest
[INFO] Running org.primefaces.component.inputnumber.InputNumberTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 s - in org.primefaces.component.inputnumber.InputNumberTest
[INFO] Running org.primefaces.component.datatable.DataTableTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in org.primefaces.component.datatable.DataTableTest
[INFO] Running org.primefaces.json.JSONObjectTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.json.JSONObjectTest
[INFO] Running org.primefaces.PrimeFacesTest
Dec 07, 2020 6:35:06 AM javax.faces.FactoryFinderInstance copyInjectionProviderFromFacesContext
SEVERE: Unable to obtain InjectionProvider from init time FacesContext. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:06 AM org.primefaces.PrimeFaces$Ajax update
WARNING: PrimeFaces.current().ajax().update() called but component can't be resolved! Expression will just be added to the renderIds: doesnTExist
Dec 07, 2020 6:35:06 AM org.primefaces.PrimeFaces$Ajax update
WARNING: PrimeFaces.current().ajax().update() called but component can't be resolved! Expression will just be added to the renderIds: doesnTExist
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in org.primefaces.PrimeFacesTest
[INFO] Running org.primefaces.model.TreeNodeTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.primefaces.model.TreeNodeTest
[INFO] Running org.primefaces.model.file.NativeUploadedFileTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.model.file.NativeUploadedFileTest
[INFO] Running org.primefaces.model.DefaultDashboardModelTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.model.DefaultDashboardModelTest
[INFO] Running org.primefaces.model.LazyDataModelIteratorTest

testIteratorWhileRemoveUnsupportedOperationException
Loading 2 items from offset 0

testOverloadedIteratorMultiSorting
Loading 2 items from offset 0

testIteratorPageSizeEqualToTotalItems
Loading 20 items from offset 0
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Loading 20 items from offset 20

testIteratorPageSizeLessThanTotalItems
Loading 3 items from offset 0
0
1
2
Loading 3 items from offset 3
3
4
5
Loading 3 items from offset 6
6
7
8
Loading 3 items from offset 9
9

testIteratorWhileNoSuchElementException

testIteratorPageSizeGreaterThanTotalItems
Loading 10 items from offset 0
0
1
2
3
4
5
6
7
8

testIteratorWhileHasNext
Loading 10 items from offset 0
0
1
2
3
4

testOverloadedIteratorSingleSorting
Loading 2 items from offset 0

testIteratorZeroTotalItems
Loading 10 items from offset 0
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.primefaces.model.LazyDataModelIteratorTest
[INFO] Running org.primefaces.model.CheckboxTreeNodeTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.primefaces.model.CheckboxTreeNodeTest
[INFO] Running org.primefaces.model.ScheduleModelTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.primefaces.model.ScheduleModelTest
[INFO] Running org.primefaces.application.PrimeExceptionHandlerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.primefaces.application.PrimeExceptionHandlerTest
[INFO] Running org.primefaces.application.resource.MoveScriptsToBottomResponseWriterTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in org.primefaces.application.resource.MoveScriptsToBottomResponseWriterTest
[INFO] Running org.primefaces.expression.SearchExpressionFacadeTest
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@72ad577b because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@99948fe because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@4c31b6c2 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@5605a59b because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@4e8b36af because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@d164938 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@4cd079fe because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@37823482 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@202b5293 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@1f4b8027 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@501b15b9 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@769b1d1c because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@c5e7696 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@4f579582 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@4769e70c because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@65293ca5 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@6d70e68b because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@2786b644 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@3b38f032 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@17d83fe4 because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
Dec 07, 2020 6:35:07 AM javax.faces.FactoryFinderInstance getImplGivenPreviousImpl
SEVERE: Unable to inject org.primefaces.mock.TestVisitContextFactory@7d76d72a because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
[INFO] Tests run: 74, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s - in org.primefaces.expression.SearchExpressionFacadeTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   FileUploadUtilsTest.isValidTypeFilenameCheck:91 expected: <true> but was: <false>
[INFO] 
[ERROR] Tests run: 297, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  48.462 s
[INFO] Finished at: 2020-12-07T06:35:07Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project primefaces: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/NOTiFY/IdeaProjects/primefaces-8.0/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I'm only build to 'find & build' 9.0:

Code: Select all

Building primefaces-showcase 9.0-SNAPSHOT
With errors @:
Failed to execute goal on project showcase: Could not resolve dependencies for project org.primefaces:showcase:war:9.0-SNAPSHOT: Could not find artifact org.primefaces:primefaces:jar:9.0-SNAPSHOT

Code: Select all

MacBook-Pro-2:showcase-facelift NOTiFY$ mvn clean
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.primefaces:showcase >-----------------------
[INFO] Building primefaces-showcase 9.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ showcase ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.394 s
[INFO] Finished at: 2020-12-07T07:04:14Z
[INFO] ------------------------------------------------------------------------
MacBook-Pro-2:showcase-facelift NOTiFY$ mvn package
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.primefaces:showcase >-----------------------
[INFO] Building primefaces-showcase 9.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
Downloading from prime-repo: http://repository.primefaces.org/org/primefaces/primefaces/9.0-SNAPSHOT/maven-metadata.xml
Downloading from prime-repo: http://repository.primefaces.org/org/primefaces/primefaces/9.0-SNAPSHOT/primefaces-9.0-SNAPSHOT.pom
[WARNING] The POM for org.primefaces:primefaces:jar:9.0-SNAPSHOT is missing, no dependency information available
Downloading from prime-repo: http://repository.primefaces.org/org/primefaces/primefaces/9.0-SNAPSHOT/primefaces-9.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.943 s
[INFO] Finished at: 2020-12-07T07:04:31Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project showcase: Could not resolve dependencies for project org.primefaces:showcase:war:9.0-SNAPSHOT: Could not find artifact org.primefaces:primefaces:jar:9.0-SNAPSHOT in prime-repo (http://repository.primefaces.org) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
So how do I build & run 'showcase-facelift' for 8.04/8.05 ?

TIA.
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

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

08 Dec 2020, 14:30

You need to download the 8.0 Tag for the Showcase here: https://github.com/primefaces/primeface ... e/releases
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

08 Dec 2020, 23:40

Melloware wrote:
08 Dec 2020, 14:30
You need to download the 8.0 Tag for the Showcase here: https://github.com/primefaces/primeface ... e/releases
Followed from README.md:

Code: Select all

MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ mvn clean
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.primefaces:showcase >-----------------------
[INFO] Building primefaces-showcase 8.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ showcase ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.297 s
[INFO] Finished at: 2020-12-08T21:37:02Z
[INFO] ------------------------------------------------------------------------

MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ mvn package
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.primefaces:showcase >-----------------------
[INFO] Building primefaces-showcase 8.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for org.primefaces:primefaces:jar:8.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.454 s
[INFO] Finished at: 2020-12-08T21:37:19Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project showcase: Could not resolve dependencies for project org.primefaces:showcase:war:8.0-SNAPSHOT: Failure to find org.primefaces:primefaces:jar:8.0-SNAPSHOT in http://repository.primefaces.org was cached in the local repository, resolution will not be reattempted until the update interval of prime-repo has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResol
The POM for org.primefaces:primefaces:jar:8.0-SNAPSHOT is missing, no dependency information available

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.primefaces</groupId>
    <artifactId>showcase</artifactId>
    <version>8.0-SNAPSHOT</version>
    <packaging>war</packaging>

    <name>primefaces-showcase</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <owasp-sanitizer.version>20190610.1</owasp-sanitizer.version>
        <owb.version>2.0.12</owb.version>
        <hibernate-validator.version>5.0.1.Final</hibernate-validator.version>
        <poi.version>4.1.1</poi.version>
        <mojarra.version>2.3.13</mojarra.version>
        <myfaces.version>2.3.5</myfaces.version>
        <jetty.version>9.4.20.v20190813</jetty.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>javax.el</groupId>
            <artifactId>javax.el-api</artifactId>
            <version>3.0.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1.0</version>
            <scope>provided</scope>
        </dependency>

        <!-- JEE dependencies -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>${hibernate-validator.version}</version>
        </dependency>

        <!-- CDI required APIs -->
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-atinject_1.0_spec</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-jcdi_2.0_spec</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-interceptor_1.2_spec</artifactId>
            <version>1.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-annotation_1.3_spec</artifactId>
            <version>1.0</version>
        </dependency>

        <!-- CDI Impl -->
        <dependency>
            <groupId>org.apache.openwebbeans</groupId>
            <artifactId>openwebbeans-impl</artifactId>
            <version>${owb.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.openwebbeans</groupId>
            <artifactId>openwebbeans-web</artifactId>
            <version>${owb.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.openwebbeans</groupId>
            <artifactId>openwebbeans-jsf</artifactId>
            <version>${owb.version}</version>
        </dependency>

        <!-- Data Exporter -->
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi</artifactId>
            <version>${poi.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml</artifactId>
            <version>${poi.version}</version>
        </dependency>
        <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
            <exclusions>
                <exclusion>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcmail-jdk14</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>bouncycastle</groupId>
                    <artifactId>bcprov-jdk14</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.bouncycastle</groupId>
                    <artifactId>bctsp-jdk14</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- FeedReader -->
        <dependency>
            <groupId>com.rometools</groupId>
            <artifactId>rome</artifactId>
            <version>1.7.3</version>
        </dependency>

        <!-- Twitter API -->
        <dependency>
            <groupId>org.twitter4j</groupId>
            <artifactId>twitter4j-core</artifactId>
            <version>3.0.5</version>
        </dependency>

        <!-- Logging -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.6.1</version>
        </dependency>

        <!-- Themes -->
        <dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>all-themes</artifactId>
            <version>1.0.10</version>
        </dependency>

        <!-- GraphicImage -->
        <dependency>
            <groupId>net.sourceforge.barbecue</groupId>
            <artifactId>barbecue</artifactId>
            <version>1.5-beta1</version>
        </dependency>
        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jfreechart</artifactId>
            <version>1.0.0</version>
        </dependency>

        <!-- Barcode -->
        <dependency>
            <groupId>net.glxn</groupId>
            <artifactId>qrgen</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>net.sf.barcode4j</groupId>
            <artifactId>barcode4j-light</artifactId>
            <version>2.1</version>
        </dependency>

        <!-- Cache -->
        <dependency>
            <groupId>org.ehcache</groupId>
            <artifactId>ehcache</artifactId>
            <version>3.6.1</version>
        </dependency>

        <!-- HTML sanitizer for the textEditor -->
        <dependency>
            <groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
            <artifactId>owasp-java-html-sanitizer</artifactId>
            <version>${owasp-sanitizer.version}</version>
        </dependency>

    </dependencies>

    <repositories>
        <repository>
            <id>prime-repo</id>
            <name>PrimeFaces Maven Repository</name>
            <url>http://repository.primefaces.org</url>
        </repository>
    </repositories>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>${basedir}/src/main/webapp/WEB-INF</directory>
                <includes>
                    <include>web.xml</include>
                </includes>
                <filtering>true</filtering>
                <targetPath>${project.build.directory}</targetPath>
            </resource>
        </resources>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>3.2.0</version>
                <configuration>
                    <webResources>
                        <resource>
                            <filtering>true</filtering>
                            <directory>src/main/webapp</directory>
                            <includes>
                                <include>**/web.xml</include>
                            </includes>
                        </resource>
                    </webResources>
                    <warSourceDirectory>src/main/webapp</warSourceDirectory>
                    <webXml>${project.build.directory}/web.xml</webXml>
                </configuration>
            </plugin>
            <plugin>
                <groupId>nl.geodienstencentrum.maven</groupId>
                <artifactId>sass-maven-plugin</artifactId>
                <version>3.5.4</version>
                <executions>
                    <execution>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>update-stylesheets</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sassSourceDirectory>${basedir}/src/main/webapp/resources/showcase/css</sassSourceDirectory>
                    <destination>${basedir}/src/main/webapp/resources/showcase/css</destination>
                    <sassOptions>
                        <always_update>true</always_update>
                        <sourcemap>:none</sourcemap>
                    </sassOptions>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>${jetty.version}</version>
                <configuration>
                    <webAppConfig>
                        <contextPath>/showcase</contextPath>
                    </webAppConfig>
                    <scanIntervalSeconds>5</scanIntervalSeconds>
                    <webXml>${project.build.directory}/web.xml</webXml>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>copy-java-files</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.outputDirectory}</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>src/main/java</directory>
                                    <filtering>false</filtering>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>

        <extensions>
            <extension>
                <groupId>org.apache.maven.wagon</groupId>
                <artifactId>wagon-ssh</artifactId>
                <version>2.12</version>
            </extension>
        </extensions>
    </build>

    <distributionManagement>
        <repository>
            <id>prime-repo</id>
            <name>PrimeFaces Maven Repository</name>
            <url>sftp://primefaces.org/var/www/repository</url>
        </repository>
    </distributionManagement>

    <profiles>
        <profile>
            <id>dev</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <jsfVersion>Mojarra-${mojarra.version}</jsfVersion>
                <primefacesVersion>PrimeFaces-8.0-SNAPSHOT</primefacesVersion>
            </properties>
            <dependencies>
                <dependency>
                    <groupId>org.primefaces</groupId>
                    <artifactId>primefaces</artifactId>
                    <version>8.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                    <groupId>org.glassfish</groupId>
                    <artifactId>jakarta.faces</artifactId>
                    <version>${mojarra.version}</version>
                </dependency>
            </dependencies>
            <build>
                <filters>
                    <filter>${basedir}/src/main/resources/filters/mojarra.properties</filter>
                </filters>
            </build>
        </profile>
        <profile>
            <id>dev-myfaces</id>
            <properties>
                <jsfVersion>Apache MyFaces-${myfaces.version}</jsfVersion>
                <primefacesVersion>PrimeFaces-8.0-SNAPSHOT</primefacesVersion>
            </properties>
            <dependencies>
                <dependency>
                    <groupId>org.primefaces</groupId>
                    <artifactId>primefaces</artifactId>
                    <version>8.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                    <groupId>org.apache.myfaces.core</groupId>
                    <artifactId>myfaces-api</artifactId>
                    <version>${myfaces.version}</version>
                </dependency>
                <dependency>
                    <groupId>org.apache.myfaces.core</groupId>
                    <artifactId>myfaces-impl</artifactId>
                    <version>${myfaces.version}</version>
                </dependency>
            </dependencies>
            <build>
                <filters>
                    <filter>${basedir}/src/main/resources/filters/myfaces.properties</filter>
                </filters>
            </build>
        </profile>
        <profile>
            <id>community-stable</id>
            <properties>
                <jsfVersion>Mojarra-${mojarra.version}</jsfVersion>
                <primefacesVersion>PrimeFaces-7.0</primefacesVersion>
            </properties>
            <dependencies>
                <dependency>
                    <groupId>org.primefaces</groupId>
                    <artifactId>primefaces</artifactId>
                    <version>7.0</version>
                </dependency>
                <dependency>
                    <groupId>org.glassfish</groupId>
                    <artifactId>jakarta.faces</artifactId>
                    <version>${mojarra.version}</version>
                </dependency>
            </dependencies>
            <build>
                <filters>
                    <filter>${basedir}/src/main/resources/filters/mojarra.properties</filter>
                </filters>
            </build>
        </profile>
        <profile>
            <id>elite-dev</id>
            <properties>
                <jsfVersion>Mojarra-${mojarra.version}</jsfVersion>
                <primefacesVersion>PrimeFaces-7.0.10</primefacesVersion>
            </properties>
            <dependencies>
                <dependency>
                    <groupId>org.primefaces</groupId>
                    <artifactId>primefaces</artifactId>
                    <version>7.0.10-SNAPSHOT</version>
                </dependency>
                <dependency>
                    <groupId>org.glassfish</groupId>
                    <artifactId>jakarta.faces</artifactId>
                    <version>${mojarra.version}</version>
                </dependency>
            </dependencies>
            <build>
                <filters>
                    <filter>${basedir}/src/main/resources/filters/mojarra.properties</filter>
                </filters>
            </build>
        </profile>
        <profile>
            <id>elite-dev-6.2.x</id>
            <properties>
                <jsfVersion>Mojarra-${mojarra.version}</jsfVersion>
                <primefacesVersion>PrimeFaces-6.2.27-SNAPSHOT</primefacesVersion>
            </properties>
            <dependencies>
                <dependency>
                    <groupId>org.primefaces</groupId>
                    <artifactId>primefaces</artifactId>
                    <version>6.2.27-SNAPSHOT</version>
                </dependency>
                <dependency>
                    <groupId>org.glassfish</groupId>
                    <artifactId>jakarta.faces</artifactId>
                    <version>${mojarra.version}</version>
                </dependency>
            </dependencies>
            <build>
                <filters>
                    <filter>${basedir}/src/main/resources/filters/mojarra.properties</filter>
                </filters>
            </build>
        </profile>
    </profiles>

</project>
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

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

08 Dec 2020, 23:53

Yep change pom.xml from 8.0-SNAPSHOT to 8.0.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

NOTiFY
Posts: 217
Joined: 25 May 2016, 22:57
Location: Cambridge, UK

09 Dec 2020, 11:21

Final ...

primefaces-showcase-8.0 works and runs on JDK 1.8:

Code: Select all

MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ java -version
java version "1.8.0_202-ea"
Java(TM) SE Runtime Environment (build 1.8.0_202-ea-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b03, mixed mode)
@ TabView - TabView is a tabbed panel component.

Image

Upgrade to Java OpenJDK 15.0.1 and try to run 'showcase' get: http://localhost:8080/showcase/error.xhtml

Code: Select all

MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home
MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ java -version
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-18)
OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)
MacBook-Pro-2:primefaces-showcase-8.0 NOTiFY$ mvn jetty:run
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.primefaces:showcase >-----------------------
[INFO] Building primefaces-showcase 8.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO] 
[INFO] >>> jetty-maven-plugin:9.4.20.v20190813:run (default-cli) > test-compile @ showcase >>>
[INFO] 
[INFO] --- sass-maven-plugin:3.5.4:update-stylesheets (default) @ showcase ---
[INFO] Checked 7 files for /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp/resources/showcase/css
[INFO] Checked 4 filtered (**/*.css) files for /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp/resources/showcase/css
[INFO] Skip compiling Sass templates, no changes.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ showcase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 1 resource to /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/target
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ showcase ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-java-files) @ showcase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 205 resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ showcase ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ showcase ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< jetty-maven-plugin:9.4.20.v20190813:run (default-cli) < test-compile @ showcase <<<
[INFO] 
[INFO] 
[INFO] --- jetty-maven-plugin:9.4.20.v20190813:run (default-cli) @ showcase ---
[INFO] Logging initialized @3387ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/target/classes
[INFO] Configuring Jetty for project: primefaces-showcase
[INFO] Context path = /showcase
[INFO] Tmp directory = /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = file:///Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/target/web.xml
[INFO] Webapp directory = /Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp
[INFO] jetty-9.4.20.v20190813; built: 2019-08-13T21:28:18.144Z; git: 84700530e645e812b336747464d6fbbf370c9a20; jvm 15.0.1+9-18
[INFO] Scanning elapsed time=752ms
[INFO] DefaultSessionIdManager workerName=node0
[INFO] No SessionScavenger set, using defaults
[INFO] node0 Scavenging every 600000ms
Dec 09, 2020 9:16:45 AM org.apache.webbeans.lifecycle.AbstractLifeCycle bootstrapApplication
INFO: OpenWebBeans Container is starting...
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp/WEB-INF/beans.xml
Dec 09, 2020 9:16:45 AM org.apache.webbeans.web.scanner.WebScannerService addWarBeansArchive
INFO: Adding information from WEB-INF/beans.xml
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/net/glxn/qrgen/1.4/qrgen-1.4.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/google/zxing/core/3.0.0/core-3.0.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/primefaces/primefaces/8.0/primefaces-8.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/net/sourceforge/barbecue/barbecue/1.5-beta1/barbecue-1.5-beta1.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/rometools/rome-utils/1.7.3/rome-utils-1.7.3.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/glassfish/jakarta.faces/2.3.13/jakarta.faces-2.3.13.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/rometools/rome/1.7.3/rome-1.7.3.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/jfree/jcommon/1.0.0/jcommon-1.0.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/target/classes/
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/twitter4j/twitter4j-core/3.0.5/twitter4j-core-3.0.5.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/apache/taglibs/taglibs-standard-spec/1.2.5/taglibs-standard-spec-1.2.5.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/apache/xmlbeans/xmlbeans/3.1.0/xmlbeans-3.1.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/fasterxml/classmate/0.8.0/classmate-0.8.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/checkerframework/checker-qual/2.5.2/checker-qual-2.5.2.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/hibernate/hibernate-validator/5.0.1.Final/hibernate-validator-5.0.1.Final.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/google/zxing/javase/3.0.0/javase-3.0.0.jar
Dec 09, 2020 9:16:45 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/apache/taglibs/taglibs-standard-impl/1.2.5/taglibs-standard-impl-1.2.5.jar
Dec 09, 2020 9:16:46 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/primefaces/themes/all-themes/1.0.10/all-themes-1.0.10.jar
Dec 09, 2020 9:16:46 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
Dec 09, 2020 9:16:46 AM org.apache.webbeans.corespi.scanner.AbstractMetaDataDiscovery addWebBeansXmlLocation
INFO: added beans archive URL: file:/Users/NOTiFY/.m2/repository/org/ehcache/ehcache/3.6.1/ehcache-3.6.1.jar
Dec 09, 2020 9:16:47 AM org.apache.webbeans.config.BeansDeployer validateInjectionPoints
INFO: All injection points were validated successfully.
Dec 09, 2020 9:16:47 AM org.apache.webbeans.lifecycle.AbstractLifeCycle bootstrapApplication
INFO: OpenWebBeans Container has started, it took [1189] ms.
Dec 09, 2020 9:16:47 AM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra |version.string| for context '/showcase'
Dec 09, 2020 9:16:47 AM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
Dec 09, 2020 9:16:48 AM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 8.0
[INFO] Started o.e.j.m.p.JettyWebAppContext@2f20f7ad{/showcase,[file:///Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp/, jar:file:///Users/NOTiFY/.m2/repository/org/glassfish/jakarta.faces/2.3.13/jakarta.faces-2.3.13.jar!/META-INF/resources, jar:file:///Users/NOTiFY/.m2/repository/org/primefaces/themes/all-themes/1.0.10/all-themes-1.0.10.jar!/META-INF/resources, jar:file:///Users/NOTiFY/.m2/repository/org/primefaces/primefaces/8.0/primefaces-8.0.jar!/META-INF/resources],AVAILABLE}{file:///Users/NOTiFY/IdeaProjects/primefaces-showcase-8.0/src/main/webapp/}
[INFO] Started ServerConnector@7f4050f0{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @8091ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.webbeans.proxy.Unsafe (file:/Users/NOTiFY/.m2/repository/org/apache/openwebbeans/openwebbeans-impl/2.0.12/openwebbeans-impl-2.0.12.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of org.apache.webbeans.proxy.Unsafe
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Dec 09, 2020 9:18:38 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
SEVERE: Error Rendering View[/ui/panel/tabView.xhtml]
javax.el.ELException: /WEB-INF/tags/tabscode.xhtml @8,45 value="#{value}": /WEB-INF/template.xhtml @90,122 value="#{sc:getFilesContent(facesContext.externalContext.requestServletPath, true)}": Problems calling function [sc:getFilesContent]
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:77)
	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:170)
	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:157)
	at org.primefaces.component.api.UITabPanel.getValue(UITabPanel.java:211)
	at org.primefaces.component.api.UITabPanel.createDataModel(UITabPanel.java:165)
	at org.primefaces.component.api.UITabPanel.lambda$getDataModel$0(UITabPanel.java:161)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
	at org.primefaces.component.api.UITabPanel.getDataModel(UITabPanel.java:161)
	at org.primefaces.component.api.UITabPanel.validateAttributes(UITabPanel.java:696)
	at org.primefaces.component.api.UITabPanel.process(UITabPanel.java:746)
	at org.primefaces.component.api.UITabPanel.encodeChildren(UITabPanel.java:1283)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1647)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:468)
	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:170)
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:132)
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:132)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:102)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:76)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:199)
	at javax.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:708)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:451)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.primefaces.showcase.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1583)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1591)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:494)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.el.ELException: /WEB-INF/template.xhtml @90,122 value="#{sc:getFilesContent(facesContext.externalContext.requestServletPath, true)}": Problems calling function [sc:getFilesContent]
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:77)
	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:74)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
	at org.apache.webbeans.el22.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
	... 58 more
Caused by: javax.el.ELException: Problems calling function [sc:getFilesContent]
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:211)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
	at org.apache.webbeans.el22.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
	... 62 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
	at org.ehcache.xml.ConfigurationParser.<init>(ConfigurationParser.java:100)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:118)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:87)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:71)
	at org.primefaces.showcase.util.EHCache3Provider.<init>(EHCache3Provider.java:23)
	at org.primefaces.showcase.util.ShowcaseCacheProvider.init(ShowcaseCacheProvider.java:16)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.apache.webbeans.intercept.LifecycleInterceptorInvocationContext.proceed(LifecycleInterceptorInvocationContext.java:103)
	at org.apache.webbeans.portable.InjectionTargetImpl.postConstruct(InjectionTargetImpl.java:320)
	at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:127)
	at org.apache.webbeans.component.ManagedBean.create(ManagedBean.java:66)
	at org.apache.webbeans.context.creational.BeanInstanceBag.create(BeanInstanceBag.java:76)
	at org.apache.webbeans.context.AbstractContext.getInstance(AbstractContext.java:159)
	at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:125)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:101)
	at org.apache.webbeans.intercept.ApplicationScopedBeanInterceptorHandler.getContextualInstance(ApplicationScopedBeanInterceptorHandler.java:65)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.get(NormalScopedBeanInterceptorHandler.java:71)
	at org.primefaces.showcase.util.ShowcaseCacheProvider$$OwbNormalScopeProxy0.getCacheProvider(org/primefaces/showcase/util/ShowcaseCacheProvider.java)
	at org.primefaces.showcase.util.ShowcaseUtil.getFilesContent(ShowcaseUtil.java:20)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:199)
	... 65 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:543)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 92 more

Dec 09, 2020 9:18:38 AM org.primefaces.application.exceptionhandler.PrimeExceptionHandler logException
SEVERE: javax/xml/bind/JAXBContext
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
	at org.ehcache.xml.ConfigurationParser.<init>(ConfigurationParser.java:100)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:118)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:87)
	at org.ehcache.xml.XmlConfiguration.<init>(XmlConfiguration.java:71)
	at org.primefaces.showcase.util.EHCache3Provider.<init>(EHCache3Provider.java:23)
	at org.primefaces.showcase.util.ShowcaseCacheProvider.init(ShowcaseCacheProvider.java:16)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.apache.webbeans.intercept.LifecycleInterceptorInvocationContext.proceed(LifecycleInterceptorInvocationContext.java:103)
	at org.apache.webbeans.portable.InjectionTargetImpl.postConstruct(InjectionTargetImpl.java:320)
	at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:127)
	at org.apache.webbeans.component.ManagedBean.create(ManagedBean.java:66)
	at org.apache.webbeans.context.creational.BeanInstanceBag.create(BeanInstanceBag.java:76)
	at org.apache.webbeans.context.AbstractContext.getInstance(AbstractContext.java:159)
	at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:125)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:101)
	at org.apache.webbeans.intercept.ApplicationScopedBeanInterceptorHandler.getContextualInstance(ApplicationScopedBeanInterceptorHandler.java:65)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.get(NormalScopedBeanInterceptorHandler.java:71)
	at org.primefaces.showcase.util.ShowcaseCacheProvider$$OwbNormalScopeProxy0.getCacheProvider(org/primefaces/showcase/util/ShowcaseCacheProvider.java)
	at org.primefaces.showcase.util.ShowcaseUtil.getFilesContent(ShowcaseUtil.java:20)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.apache.el.parser.AstFunction.getValue(AstFunction.java:199)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
	at org.apache.webbeans.el22.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
	at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:74)
	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
	at org.apache.webbeans.el22.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:170)
	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:157)
	at org.primefaces.component.api.UITabPanel.getValue(UITabPanel.java:211)
	at org.primefaces.component.api.UITabPanel.createDataModel(UITabPanel.java:165)
	at org.primefaces.component.api.UITabPanel.lambda$getDataModel$0(UITabPanel.java:161)
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
	at org.primefaces.component.api.UITabPanel.getDataModel(UITabPanel.java:161)
	at org.primefaces.component.api.UITabPanel.validateAttributes(UITabPanel.java:696)
	at org.primefaces.component.api.UITabPanel.process(UITabPanel.java:746)
	at org.primefaces.component.api.UITabPanel.encodeChildren(UITabPanel.java:1283)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1647)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)
	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:468)
	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:170)
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:132)
	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:132)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:102)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:76)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:199)
	at javax.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:708)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:451)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
	at org.primefaces.showcase.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:32)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1583)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1591)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:494)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:543)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 92 more
Error Occured
Something went wrong with the request.

Go to Homepage
TIA
PrimeFace (Elite) 8.0.6
Mojarra JSF 2.3.14.SP02 & OmniFaces 3.9

WildFly 22.0.0.Final
Weld 3.1.5.Final & CDI 2.0
Java OpenJDK 15.0.1, Kotlin 1.4.21, Gradle 6.8, MongoDB 4.4.3
Google Chrome, macOS Big Sur 11.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests