Category "spring"

Error creating bean with name 'entityManagerFactory'

I have a web application that uses spring, hibernate and JPA. When I want to run my DAO unit tests, I get the following error: Caused by: org.springframewo

How do I produce just one message using Spring Cloud Stream w/o deprecated @Output, or turn off polling?

I am trying to publish just one message to Kafka, using Spring Cloud without any deprecated classes/methods or annotations. I would also like to be able to easi

SonnarQube's issue: change code to not construct the URL from user-controlled data

I facing a SonarQube bug and am not able to figure out whats the issue. SonnarQube's issue is, change this code to not construct the URL from user-controlled da

How to configure log4j in a Spring Mvc application configured with Java Annotations and using a log4j.properties file

I'm working on a Maven Web application using Spring MVC 4.2.5.RELEASE, I'm using Netbeans IDE with GlassFishSErver 4.1, I want to use log4j 1.2.17 so I created

Apache Camel: Set body from resource

Basically, I'm trying to do this (incorrect code!): <camel:setBody> <camel:simple>resource:classpath:/myfiles/file.xml</camel:simple>

Upload data file as byte array with Feign

How can I send file in Feign as byte array? @RequestLine("POST /api/files/{num}/push") @Headers({"Content-Type: application/zip"}) void pushFile(@Param