Questions tagged as 'spring'

0
answers

Error creating tables with relationship and JPA

Hello, I'm trying to create two tables with flyway + Spring + SqlServer + JPA, very simple thing even just to pass the time and I'm having an error that I can not understand because if I execute the same direct in Sql it works. I have the follow...
asked by 25.09.2018 / 16:51
1
answer

Save an object with a list using Spring CrudRepository

Hello, Is there any way to save an object with a list of objects (Set)? For example, I have the Artist and Album objects, Artist has a list of Albuns (Set). I would like when saving the Artist also save the list of Albums together, which would a...
asked by 18.09.2018 / 04:28
0
answers

Problems with Safari

I'm having problems with my application in the Safari browser, when I try to update some information. In my application, the form is mounted dynamically, with properties coming from the API. In other browsers, it works correctly, only in Safari...
asked by 12.09.2018 / 11:50
1
answer

How to use websocket in Aws Beanstalk hosted application

I have a system running on aws beanstalk , it's a Java application with Tomcat + Spring architecture. I'm having trouble making the websocket work, which is locally functional. The websocket receiver answers to url dominio/socket , an...
asked by 04.09.2018 / 02:35
1
answer

Error creating bean with name 'cargoDaoImpl': Lookup method resolution failed; nested exception is java.lang.IllegalStateException:

I'm trying to upload my spring project, but I get the following error. 15:17:43.079 [main] DEBUG org.springframework.boot.devtools.settings.DevToolsSettings - Included patterns for restart : [] 15:17:43.081 [main] DEBUG org.springframew...
asked by 01.09.2018 / 20:31
1
answer

What does the addViewControllers method of the Spring boot WebMvcConfigurer class do?

I'm using thymeleaf on the front end of the application and I have the following configuration class, with the addViewControllers method in question: @Configuration public class WebConfig implements WebMvcConfigurer { ... @Override...
asked by 07.09.2018 / 01:31
0
answers

Send data to the JSP using Spring and Ajax

Using Spring MVC I would like to update the view in an AJAX call to a long running method. Sorry if question may seem stupid but I do not know how to find an answer, if someone points me a tutorial how to do it would be extremely grateful. Cu...
asked by 08.09.2018 / 00:06
0
answers

Log4j in Tomcat application on AWS Beanstalk

I have a multi tenant application developed in Java WEB (Spring) that uses log4j to register the logs. Each tenant writes its log files to a specific folder, corresponding to the user's tenant logged in. For this I use the following configuratio...
asked by 29.08.2018 / 02:46
0
answers

@DataJpaTest can not be resolved to a type

I'm doing a unit test, but the annotation @DataJpaTest is not being recognized, my pom.xml contains the following dependencies for JUnit: <dependency> <groupId>org.springframework</groupId>...
asked by 23.08.2018 / 17:55
0
answers

Datepicker jQuery need to pass a parameter from the Java controller

OnthesideofthesearchIaddedamagnifyingglassbecausetheuserclickedittosearchforthewordthattheuserentered,IusedaparameterthatIcreatedinmycontrollerinJava.NowIneedtodothesamethingonthedates,whenselectingthedatesthesystemwillsearchthedatesandifitexis...
asked by 29.08.2018 / 16:01