Questions tagged [spring-2.5]

The Spring Framework is an open source framework for application development on the Java platform. This tag is for questions relating to Spring version 2.5.x. For non version-specific questions, please use the [spring] tag.

The Spring Framework is an open source framework for application development on the Java platform. This tag is for questions relating to Spring version 2.5.x. For non version-specific questions, please use the tag.

Related Tags

23 questions
3
votes
1 answer

Spring JdbcTemplate.update() is not updating the rows

I am using Spring JdbcDaoSupport in my DAO and trying to update the records using the following query. String callersUpdateQuery = "update W67U999S a set pcrdattim= ? where exists (select b.CRDATTIM, b.RECORDCD, b.CRNODE, b.UNITCD, b.WRKTYPE from…
Ashok.N
  • 1,327
  • 9
  • 29
  • 64
3
votes
1 answer

Override Property value in PropertyPlaceholderConfigurer

I need to override a property value given in my property file while loading my JBOSS Application server. I tried out with below code overriding processProperties() method in PropertyPlaceholderConfigurer. My property file has this…
vin
  • 43
  • 6
1
vote
2 answers

How to force spring to have exactly one active profile?

I am trying to have one, exactly one profile active on my SpringBoot application. I used to override the configureProfiles method, so if more than one profiles where active the application did not run. In case no profile was active, I added a…
Nerea
  • 11
  • 1
1
vote
1 answer

@KafkaListener: generate clientId and groupId by incoming parameters

I have been using @KafkaListeners for the sort of Kafka event consumers that must have unique ids and every event consumer must have a separate group with a very special name. For example: @KafkaListener(id="AmazingProductEventConsumer", …
Aventes
  • 569
  • 1
  • 8
  • 20
1
vote
1 answer

Spring 2.5.6 JMX NotificationPublisher invocation throwing NPE

I am getting Caused by: java.lang.NullPointerException sometimes. Looks like spring is not able to inject org.springframework.jmx.export.notification.NotificationPublisher properly. I am using spring 2.5.6 and deployed in WebSphere 7. How can we…
JB.
  • 41
  • 8
1
vote
2 answers

Is Spring 2.5.1 compatible with JDK 1.7

We are migrating from JDK 1.6 to 1.7 and we are using spring 2.5.1 version. When starting the application i am getting the below error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tivoliTransferManager'…
1
vote
2 answers

Error in using Expression Language in Spring

Failed to convert property value of type [java.lang.String] to required type [com.spring.first.Item] for property 'item'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type…
Sumit Gulati
  • 607
  • 3
  • 7
  • 15
1
vote
1 answer

How to define a map in Hazelcast

I need to cache with Hazelcast some values from the database that are used in a Java project. The logic is to check if the cache is empty, then populate it by calling a dao method; otherwise, return the object from cache. I'm completely new to…
user998692
  • 5,172
  • 7
  • 40
  • 63
1
vote
1 answer

Setting up spring-mvc in an application that already use it as a dependency of dependency

I did not know how to turn the title, hope this is understandable. I am working on a web-app that have existed for years and is currently in production. This web-app uses spring-flex to display some views and one of the dependency of spring-flex is…
Aldian
  • 2,592
  • 2
  • 27
  • 39
0
votes
0 answers

What is the same of Spring 3.0's in Spring 2.5?

I study for maintain an old web-app (Spring 2.5, Java/JDK 1.6, Eclipse IDE 2022-06, Windows 10 x64). Learned from tutorial https://mkyong.com/spring-mvc/spring-mvc-jquery-autocomplete-example/ File mvc-dispatcher-servlet.xml
Vy Do
  • 46,709
  • 59
  • 215
  • 313
0
votes
0 answers

In Spring 2.5, how to config like tag in Spring MVC 3.0?

I need maintain old system with JDK/Java 1.6 , Apache Tomcat 6.0.x, Spring 2.5.6 . I am reading tutorial https://mkyong.com/spring-mvc/spring-mvc-jquery-autocomplete-example/
Vy Do
  • 46,709
  • 59
  • 215
  • 313
0
votes
1 answer

RESTEasy Could not find MessageBodyWriter for response object of type: of media type: application/json

I'm trying to implement a rest endpoint using rest easy. This is a GET endpoint, @Controller @Path("/api") public class TestController { private static final Log LOG = LogFactory.getLog(TestController .class); @GET @Path("/test") …
Shenali Silva
  • 127
  • 3
  • 9
0
votes
0 answers

spring 2.5: loading environment specific properties file

I have a legacy application on which I am working to implement some requirements. While doing so, I want to load the environment specific properties file for each environment. For example:
user123475
  • 1,065
  • 4
  • 17
  • 29
0
votes
0 answers

ClassNotFoundException: ContextLoaderListener while migrating Spring to 4.2.4

I am migrating my project from Spring 2.5 to Spring 4.2.4. I am using weblogic to deploy my application. While publishing the project I get the below exception Caused By: java.lang.ClassNotFoundException: …
Lakshmi
  • 2,204
  • 3
  • 29
  • 49
0
votes
1 answer

issue due to version compatibility with spring and web-service request responses

I am working in migration project which uses spring 2.5.6 and webservice running on spring 4.2.3.Release Since Xml processor cannot be changed due to some confidentiality with clients iam trying to send the request object from processor and get the…
1
2