Questions tagged as 'spring'

1
answer

Can not find class in bean defined in the ServletContext

I am using for my project (maven 3.3.9, spring 4+, hibernate4 +, tiles 3, postgres 9+, jdk 8, wildfly 10), and I am receiving the following error message:    Can not find class [org.springframework.orm.hibernat4.LocalSessionFactoryBean] for b...
asked by 14.07.2016 / 03:40
1
answer

How to change the language to my website with angularjs? [closed]

How can I change and, with that, the language of my page either with a language selector or automatically all the text, to the selected language. I have seen that .js or Locale language files are downloaded with angle, but only changes some p...
asked by 22.07.2016 / 06:09
1
answer

associations with annotations in MyBatis

Good day family, I have a rest project mounted on Spring. I have an endpoind that works for me and returns an array of objects: [ { "accountBankId": "24083410-1d00-43a9-9a14-09bd865a1381", "accountId": 1, "accountName": "Banco de...
asked by 17.03.2016 / 20:19
1
answer

error 404 when trying to access a route created in spring

web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns...
asked by 03.01.2019 / 18:26
0
answers

localhost: 8080 does not work

As you can see, I decided to dispense with the web.xml import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration; import org.springframework.web.WebApplicationInitializer; import org....
asked by 27.12.2018 / 20:30
0
answers

WARN DispatcherServlet.noHandlerFound problems (1120) No mapping found for HTTP request with URI

I am working with a web application that uses Spring , uses among others the following dependencies (libraries) <!-- spring mvc --> <dependency> <groupId>org.springframework</groupId>...
asked by 28.12.2018 / 09:52
0
answers

Load balancer does not have available server for client

I am setting up a client in nodeJS with eureka using zuul for routing management Here I have a test of a service with express and the configuration of eureka nodejs link running on the Port 3001 const Eureka = require('eureka-js-cli...
asked by 26.12.2018 / 20:21
0
answers

Is it possible to login with JWT the password in Spring Security?

I have a login as follows: Spring-security.xml <security:http pattern="/login" security="none" /> <security:intercept-url pattern="/login" access="IS_AUTHENTICATED_ANONYMOUSLY" /> <security:fo...
asked by 24.12.2018 / 22:12
0
answers

does not load my image in Webcontent folder / images

I have a question, the problem is that I created a project in which I keep my image in a folder within Webcontent / images, I believe in my dispatcher-servlet.xml, I'm using spring mvc, I create my controller where I send to call the route and e...
asked by 17.12.2018 / 19:06
1
answer

Help with Spring Security - Request method 'POST' not supported and how to remove window by default?

I have two problems in one, I do not know if it's okay to post the two together but I think they have a relationship with each other so there it goes: I'm trying to apply Spring Security to my project. The first thing I did was add these d...
asked by 14.12.2018 / 17:30