Posts by ricktg • 116 points
11 posts
-
0
votes1
answer14
viewsA: Symfony project only works with APP_ENV=dev
Put the mistakes here, maybe we’ll help you. Usually this is because the .env.Prod configuration is wrong.
-
1
votes1
answer26
viewsA: Problem with error checking at login time
In your Controller, you have to say that route accepts POST type, otherwise you will use GET by default: /** * @Route("/admin/login", name="login", methods={"POST"}) */ Vide Symfony Docs…
-
1
votes2
answers4905
viewsA: Hide a running app or bat
Use the command below: start "" "CAMINHO\Aplication.exe" Follows reference HERE…
-
0
votes1
answer124
viewsA: Error generating jar project
If your application does not use web.xml for some reason (Servlet 3.0 for example), you can skip validating that file. Add the code below in the section plugins of your pom.xml <plugin>…
-
0
votes1
answer248
viewsA: java.lang.Illegalstateexception when declaring aspect with Spring
Rotate the remote mvn dependency:tree There’s probably another version of Servlet-api going as dependency.
-
1
votes1
answer2148
viewsA: Spring Boot configuration error: org.springframework.boot.autoconfigure.Orm.jpa.Jpabaseconfiguration.jpaVendorAdapter
The spring version you declare on properties is not compatible with Spring boot 1.4. Upgrade to 4.3 or higher. Recommend: <spring.version>4.3.4.RELEASE</spring.version>…
-
0
votes3
answers1854
viewsA: Spring Boot Error Message
Check the connection settings for your database in application.yml or application.properties. See here: http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html Example…
spring-bootanswered ricktg 116 -
2
votes1
answer879
viewsA: Spring boot Data-JPA and JSF Java Config
You have to write down your DAO as a Spring Data Repository. @Repository public interface CustomerDao extends JpaRepository<Customer, Long>{ }
-
0
votes1
answer203
viewsA: Duplicate mapping error: org.hibernate.Duplicatemappingexceptionn
One of these entities shall be used only as a reading? If yes, you can include the @Immutable in this entity: @Entity @Table(name="Avaliacao") public class Avaliacao { ... } @Entity…
-
4
votes1
answer983
views -
1
votes2
answers555
viewsA: Select in Mysql by skipping simple quotes
You can treat the return right away in the result. texto = rs.getString("rua"); if (null != texto) { texto = texto.replaceAll("\'",""); }