Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</p>

<h1 align="center">DynamiaTools</h1>
DynamiaTools is a cutting-edge full-stack Java 17+ framework designed for building powerful enterprise web applications, harnessing the strength of Spring Boot 3 and the elegance of ZK 10.
DynamiaTools is a cutting-edge full-stack Java 21+ framework designed for building powerful enterprise web applications, harnessing the strength of Spring Boot 4 and the elegance of ZK 10.


## With DynamiaTools you can
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package tools.dynamia.app.controllers;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ExceptionHandler;
Expand All @@ -36,14 +35,12 @@
* <p>
* Provides handlers for navigation errors, general exceptions, and error endpoints.
* Returns appropriate views and error information for UI clients.
* <p>
* Implements {@link ErrorController} for integration with Spring Boot error handling.
*
* @author Mario A. Serrano Leones
* @since 2023
*/
@Controller
public class GlobalExceptionController implements ErrorController {
public class GlobalExceptionController {

/**
* Logger for error and exception handling.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package tools.dynamia.app.crud;

import jakarta.persistence.EntityManagerFactory;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
Expand All @@ -20,7 +19,6 @@
import javax.sql.DataSource;

@Configuration
@EntityScan(basePackageClasses = {CrudTestConfiguration.class})
public class CrudTestConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui) {
// Invoke normal post processing
super.postProcessPersistenceUnitInfo(pui);

PersistenceUnitInfo oldPui = getPersistenceUnitInfo(pui.getPersistenceUnitName());
MutablePersistenceUnitInfo oldPui = getPersistenceUnitInfo(pui.getPersistenceUnitName());

if (oldPui != null) {
postProcessPersistenceUnitInfo(pui, oldPui);
Expand All @@ -66,7 +66,7 @@ protected void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui) {
* @param pui the pui
* @param oldPui the old pui
*/
void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui, PersistenceUnitInfo oldPui) {
void postProcessPersistenceUnitInfo(MutablePersistenceUnitInfo pui, MutablePersistenceUnitInfo oldPui) {

for (URL url : oldPui.getJarFileUrls()) {

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

<properties>
<main.baseUri>${project.baseUri}</main.baseUri>
<springboot.version>3.5.8</springboot.version>
<springboot.version>4.0.0</springboot.version>
<swagger.version>2.2.38</swagger.version>
<mongodb.version>1</mongodb.version>

Expand Down