http://websystique.com/spring-boot/spring-boot-angularjs-spring-data-jpa-crud-app-example/ J'ai importé ce projet du tutoriel, il fonctionne parfaitement sans aucune erreur. Mais pour l'affichage il a utilisé index.ftl, il montre l'erreur 404 dans eclipse.printemps boot angularjs printemps données jpa crud-app exemple obtenir 404 erreur en eclipse
mon fichier application.yml
---
server:
port: 8080
contextPath: /SpringBootCRUDApp
---
spring:
profiles: local, default
datasource:
sampleapp:
url: jdbc:h2:~/emp
username: sa
password:
driverClassName: org.h2.Driver
defaultSchema:
maxPoolSize: 10
hibernate:
hbm2ddl.method: create-drop
show_sql: true
format_sql: true
dialect: org.hibernate.dialect.H2Dialect
---
spring:
profiles: prod
datasource:
sampleapp:
url: jdbc:mysql://localhost:3306/emp
username: root
password: root
driverClassName: com.mysql.jdbc.Driver
defaultSchema:
maxPoolSize: 20
hibernate:
hbm2ddl.method: update
show_sql: true
format_sql: true
dialect: org.hibernate.dialect.MySQLDialect
Cela fonctionne pour moi.Merci – techsavvy
Bon Marquer la réponse alors. –