Questions tagged as 'spring'

1
answer

Error 404 - Not Found Spring MVC application

I'm getting the error    Error 404 - Not Found: The server has not found anything matching the Request-URI When trying to access any url of my application, the strange thing is that the index.jsp page works normally, includi...
asked by 28.09.2015 / 22:04
1
answer

Selenium run task to the end

In tests with Selenium, running through Eclipse, when I run several at the same time. The errors happen: First, do not finish running the task open another browser. Begins to run the second test without even finishing the first Problem a...
asked by 25.10.2016 / 18:42
2
answers

Problem with Spring "No qualifying bean of type found for dependency"

Hello, I'm learning a little about Spring and I'm having a problem that I can not get around in any way. I've been looking for solutions to this mistake for a long time, but I did not find anything that would help. I imagine the annotations are...
asked by 26.09.2016 / 03:00
0
answers

Spring Security and Shiro - How to authenticate a user in Security and pass a token to the Shiro

I have two web applications: the first web application is using Spring MVC and Security and it authenticates the user to the database. And it works very well, thanks. The second web-app is using Shiro to login user in y...
asked by 04.10.2016 / 03:26
0
answers

problems with @Injection

Hello everyone. I'm creating a program that handles people and livestock records. In this program, on the cattle cadastre screen, I am creating two SelectOneMenu of primefaces. One is of cattle type and the other of cattle breed. These two Selec...
asked by 28.08.2016 / 18:19
1
answer

How to map a html page in Spring MVC

I have a Spring MVC project that will provide the rest service for the front end. But when creating a page .html the project does not recognize it and always 404. Does there any configuration that I should do more for spring mvc to recognize .ht...
asked by 18.08.2016 / 01:19
2
answers

pom.xml in Spring is not working!

Regardless of the boot version, it gives me an error. could anyone help me solve these problems of pom?     
asked by 17.07.2016 / 00:10
0
answers

How to select a runtime class based on a RequestParam using Spring MVC?

Let's say I have the following @RestController in my code that uses Spring MVC: @RestController public class Exemplo { @RequestMapping(value = "exemplo", method = RequestMethod.GET) public InterfaceDeExemplo exemplo(@RequestParam String escol...
asked by 02.06.2016 / 12:18
0
answers

Two JBoss servers. It starts and the other does not. Same configuration

I have two servers that run JBoss with the same parameters for the same application. Although the log clearly states the error, I do not understand why one server works and the other does not. It starts without problems, sets the beans, but when...
asked by 23.07.2016 / 05:01
0
answers

How to initialize hibernate with reflection

Hello, I need to initialize a list using Hibernate.initialize (list) within a Generic DAO. User Template @Entity public class Usuario { @Expose @ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE}) private Lis...
asked by 04.08.2016 / 14:50