• Register

Recent questions tagged spring

0 votes
1 answer 4 views
Problem: cvc-elt.1: cannot find the declaration of element 'beans'.
asked 3 days ago charles mathews 3.8k points
0 votes
1 answer 7 views
Problem: org.apache.catalina.lifecycleexception: failed to start component [connector[http/1.1-8080]]
asked 5 days ago Lucky Guy 1.4k points
0 votes
1 answer 1 view
Problem: the request sent by the client was syntactically incorrect.
asked 6 days ago Ethan ross 1.8k points
0 votes
1 answer 4 views
Problem: failed to destroy end point associated with protocolhandler.
asked 6 days ago Ethan ross 1.8k points
0 votes
1 answer 12 views
Problem : Unable to locate spring namespacehandler for xml schema namespace
asked Feb 14 Shovo210 2.1k points
0 votes
1 answer 5 views
Problem: HTTP Status 500 - Servlet.init() for servlet spring-dispatcher threw exception
asked Feb 13 Shovo210 2.1k points
0 votes
1 answer 8 views
Problem: the prefix "context" for element "context:component-scan" is not bound.
asked Feb 12 Dan phillip 1.8k points
0 votes
1 answer 13 views
Problem unable to process parts as no multi-part configuration has been provided
asked Feb 9 charles mathews 3.8k points
0 votes
1 answer 5 views
Problem http status 403 - expected csrf token not found. has your session expired?
asked Feb 9 charles mathews 3.8k points
0 votes
1 answer 23 views
I am facing problem creating a jbdc driver of class. I want to connect it to url null.
asked Sep 22, 2020 Daniel Anderson 4k points
0 votes
1 answer 59 views
Problem: I am facing the below strange looking exception while getting my datasource through jndi: Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null I am very new to java, spring and spring jdbc.
asked Sep 5, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 238 views
Problem: I have recently started working on spring jdbc application. I am very new to spring and also developing spring jdbc application. Because of some reason my driver class is not getting loaded. I am facing below error: "org.springframework.beans. ... jdbcTemplate" ref="jdbcTemplate"></property> </bean> </beans> Can someone help me in fixing above spring related error?
asked Jul 14, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 1.9K views
Problem : I am beginner to spring + hibernate. Recently I have created the application with the use of spring + hibernate but I always face below error. I am trying to work on it for the very first time. Below is the error for your ... ) at coreservlets.StudentDAOImpl.create(StudentDAOImpl.java:19) at coreservlets.MainApp.main(MainApp.java:14) Can somebody help me in overcoming above error?
asked Mar 28, 2020 morrisBson 3.2k points
0 votes
1 answer 541 views
Problem : I am very new to Spring Boot. I am learning to write code in Spring Boot. I have written my first Spring Boot code as below @RequestMapping(value = "/bar/foo", method = RequestMethod.GET) public MyResponseEntity<foo> foo() { Foo model; ... return ... .core</groupId> <artifactId>jackson-databind</artifactId> <version>2.4.3</version> </dependency> How can I fix above Spring Boot exception?
asked Feb 29, 2020 mphil 2.3k points
0 votes
1 answer 893 views
Problem : Currently I am trying to develop the REST API using the Spring Framework I am unable to run my application because of below error. Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may ... this application to listen on another port. My 8080 port on my PC is seems to be busy. How can I fix this issue?
asked Feb 28, 2020 mphil 2.3k points
0 votes
1 answer 5.3K views
Problem : I am developing the application in Spring, using a Tomcat, Mysql5, Java8... My problem is that I cannot deploy it, due to the "required bean 'entityManagerFactory' not found" problem. I have developed my project with the coworkers but ... a bean named 'entityManagerFactory' that could not be found. Action: Consider defining a bean named 'entityManagerFactory' in your configuration.
asked Jan 25, 2020 jwilliam 3.9k points
0 votes
1 answer 317 views
Problem : I want to POST the List of custom objects. My JSON in a request body is as below : {     "collection": [         {             "name": "Test ordert1",             "detail": "ahk ksa"         },         {             "name": "Test ... } But I am facing below error: &ldquo;Can not deserialize instance of java.util.arraylist out of start_object token&rdquo; How can I fix the above error?
asked Jan 21, 2020 jwilliam 3.9k points
0 votes
2 answers 621 views
Problem : I am new to the Spring and JPA, wasted 10 days and no result with the searching on internet. I want to save the object to SQL SERVER, my connection is correct but when I write .flush() I get below exception &ldquo;nested exception is javax.persistence.TransactionRequiredException: no transaction is in progress&rdquo;
asked Jan 21, 2020 jwilliam 3.9k points
0 votes
1 answer 6.6K views
Problem : I am running into the json parsing issue when using a ObjectMapper class from a com.fasterxml.jackson.databind package, and a error that I am getting is: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.graybar.utilities.ups.beans. ... no control over a data I receive. Is there any annotation that needs to be added to be able to remove this issue?
asked Jan 18, 2020 jwilliam 3.9k points