Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
20230403
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
20230403
Commits
72102ce0
Commit
72102ce0
authored
May 28, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kombinowanie z wersjami JSTL - to jeszcze nie koniec
parent
467f1cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
pom.xml
PC25-SklepWeb/pom.xml
+23
-7
No files found.
PC25-SklepWeb/pom.xml
View file @
72102ce0
...
...
@@ -16,6 +16,15 @@
</properties>
<dependencies>
<!-- Z takim zestawem zależności (Jakarta EE 9 + JSTL 2.0)
projekt należy uruchamiać na serwerze "WildFly 26 preview".
Teoretycznie wersje WildFly 27+ obsługują już następną wersję Jakarta EE 10,
a w praktyce pojawia się problem z JSTL (w plikach JSP), które tu mamy w starej wersji (java.sun.com/jsp/jstl/core)
Aby oszukać Eclipse i wgrać ten projekt na WildFly w wersji np. 24+ (np. 26), trzeba w Project Facets przestawić
Dynamic Web Module na 4.0 (chociaż tak naprawdę -Jakarta EE 9 = Web Module 5.0).
Bezpośrednie wgrywanie pliku war na serwer WildFly 26 działa.
-->
<dependency>
<groupId>
jakarta.platform
</groupId>
<artifactId>
jakarta.jakartaee-web-api
</artifactId>
...
...
@@ -23,16 +32,24 @@
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
jakarta.servlet.jsp.jstl
</groupId>
<artifactId>
jakarta.servlet.jsp.jstl-api
</artifactId>
<version>
2.0.0
</version>
<!-- <scope>provided</scope> - na WildFly 26 można to odkomentować -->
</dependency>
<!-- ewentualnie stara klasyczna wersja - ale wtedy wypisują się błędy podczas deploy:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
-->
<dependency>
<groupId>
org.postgresql
</groupId>
<artifactId>
postgresql
</artifactId>
<version>
42.6.0
</version>
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
jstl
</artifactId>
<version>
1.2
</version>
</dependency>
</dependencies>
<build>
...
...
@@ -50,4 +67,4 @@
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment