Questions tagged [spring-io]
Spring IO brings together the core open source Spring APIs into a cohesive and versioned foundational platform for modern applications and is comprised of the Spring IO Foundation and Spring IO Execution layers.
57
questions
0
votes
1
answer
55
views
Implementation/ Guide on how to Disable Spring Batch(5.0.2) MetaData Tables Completely
We need to disable Spring Batch(latest) metadata tables completely, not even use of In-memory database alternatives.
Kindly Address below questions :-
Question 1 : Is it possible to completely Stop ...
0
votes
0
answers
46
views
Maven issue for org.dom4j - Unauthorized error in spring.io repository
I have this dependency setting in my pom.xml
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>2.1.1</version>
</...
9
votes
2
answers
14k
views
Cannot access repo.spring.io - Getting unauthorized
I'm working on a gradle based spring boot project which downloads some dependencies from 'repo.spring.io'. The application used to work fine a while back but now I'm seeing an error in the download ...
2
votes
1
answer
4k
views
Spring Embedded Kafka using Kafka 2.2.x
The Embedded Kafka Broker for Spring does not work when upgrading Spring-Kafka 2.2.x which is required for kafka-client and kafka-stream 2.2.3. It seems to require a meta.properties file in the log....
2
votes
2
answers
533
views
how can we build a spring mvc multitenant application using hibernate as orm separate database and schema
from spring io u shifted to stack overflow but nowhere u have explained about multitenant complete demo application which can be seen as a problem solver infact no one seen satisfied with ur answers ...
0
votes
3
answers
3k
views
How can I expand wildcards in Spring properties?
I am developing spring boot application and I want to inject Collections of resources like this:
@Value("${app.users-location}")
Collection<Resource> csvResources;
inside application....
1
vote
1
answer
138
views
@Scheduled of SpringIO not working in scala?
I followed the example: https://spring.io/guides/gs/scheduling-tasks/. it works. Then, I changed it to scala codes. My scala codes:
@Component
class ScheduledConsumer {
private val log = ...
1
vote
1
answer
3k
views
Spring Initializr Error:Failed to delete temp directory
When I was trying to build it from source for running my own Spring Initialzr instance, the problem occurred with temporary files when performing the tests.
Windows10 java8
mvnw clean install
or
...
0
votes
0
answers
309
views
Spring Integration exception always not reaching errorChannel
<bean id="triggerFileScanner" class="abc.xyz">
<property name="triggerFile" value="value1" />
</bean>
<int-file:inbound-channel-adapter id="fileInbound" directory="somepath/...
1
vote
1
answer
3k
views
404 at GGTS download page
Looking to download GGTS (Groovy/Grails tools suite) IDE but I'm getting 404 page.
https://spring.io/tools/ggts/all/
https://spring.io/tools/ggts
Does someone know another place to download GGTS ...
0
votes
1
answer
607
views
How to verify a Spring feature/Bug fix is available in the Spring boot version which i am using?
I am working on a spring batch program to process data from sql and write to an xml. I used staxEventItemWriter to do that. But due to this issue https://jira.spring.io/browse/BATCH-1377 i am not able ...
0
votes
1
answer
3k
views
spring core version updation in spring boot parent starter 1.5.10.RELEASE
Here is the maven dependency I have
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-...
1
vote
1
answer
1k
views
validate raw message against schema for method annotated with jmslistener
I have a need to apply some pre-checks and common steps on the all the jms listeners like validating the raw message against a schema (JSON schema). Example -
@Component
public class MyService {
...
0
votes
2
answers
1k
views
Not finding resources with Spring PathMatchingResourcePatternResolver
@Bean
@StepScope
public MultiResourceItemReader<PosRow> multiResourceItemReader() {
MultiResourceItemReader<PosRow> resourceItemReader = new MultiResourceItemReader<>(...
0
votes
1
answer
289
views
Spring IO Platform Cairo Release date with Springboot 2.0
When is the Spring IO Platform Release scheduled with the latest Springboot 2.0 and Webflux dependencies.
We are using Spring IO Platform Brussels SR4 in dependency management right now, and want to ...
2
votes
1
answer
6k
views
Error handling in spring integration - How to get all the errors thrown in multiple threads and send them to the error-channel
I have two threads and each of the method in the thread throws an exception. How do I get all the errors that's thrown in each of the thread? In this code, the error channel just catch one of the ...
9
votes
2
answers
3k
views
Does Reactive programming consumes more resources than non-reactive?
We are currently facing a performance issue with spring webFlux.
For the sake of ascertaining the benefits of the reactive programming we have implemented a Spring Boot service which fetches data from ...
0
votes
1
answer
1k
views
spring dependency-management gradle plugin with artifactory
I'm trying to get a new project up and running using a private artifactory gradle repo. I was able to get it resolving artifacts through artifactory, but when I try to throw spring io & boot into ...
0
votes
1
answer
1k
views
How to map array in the JSON body to a POJO?
I'm implementing many-to-many relationship using hibernate as JPA and spring-boot. When I do a post request from the POSTMAN, I get the following error:
Failed to convert from type [java.net.URI] to ...
0
votes
0
answers
30
views
spring-cloud-zookeeper-dependencies 1.0.4.BUILD-SNAPSHOT is missing
Since several days i got the maven error that the spring-cloud-zookeeper-dependencies/1.0.4.BUILD-SNAPSHOT is missing in https://repo.spring.io/snapshot
Can anybody please check this? Many Thanks, ...
2
votes
1
answer
350
views
Spring IO platform-bom version scheme
Can someone please explain or indicate some reference on the spring.io platform-bom versioning scheme? I see concurrent releases of versions:
Brussels-SR1
Athens-SR3
2.0.8.RELEASE
Which should I ...
0
votes
1
answer
396
views
How i can take all managed version dependencies from Spring Dependencies Managment Plugin within my custom plugin?
I'm writing my custom java gradle plugin for checking dependencies. Also i apply
Spring Gradle Dependency Managment plugin. But i cannot take a list of managed library version from this plugin. I use ...
0
votes
2
answers
1k
views
The Spring boot application(eureka client) is throwing ClassNotFoundException: javax.ws.rs.core.Response$StatusType
I am trying register my Spring boot application to a eureka server. The application get's start but at runtime I am getting
"java.lang.NoClassDefFoundError: javax/ws/rs/core/Response$StatusType
...
3
votes
0
answers
1k
views
Using spring-boot Gradle plugin but getting spring boot version from dependency management
I have a Gradle setup where I currently need to hard code the spring-boot version. Is it possible to do this with dependency management instead? The issue occurs in my project module that contains the ...
1
vote
2
answers
640
views
Combination of scope-proxy and parent
Hi I have the following short code :
https://github.com/shmuel-buchnik/scope-issue
I am getting the following error :
"Invalid property 'targetBeanName' of bean class [C]: Bean property '...
0
votes
2
answers
2k
views
Spring Rest : Handling POST requests, at server end
I am asking this question based on the answers in this link
POST request via RestTemplate in JSON
I actually wanted to send JSON from client and receive the same at REST server. Since the client ...
0
votes
3
answers
695
views
SpringIO with GWT 2.7
Spring IO jar with embedded container fits like a glove with AngularJS as a UI. You can gunsling your static resources trivially with jar based spring io project (namely .html pages with angularjs or ...
0
votes
2
answers
2k
views
How can make an embedded server with Spring Data Neo4J 4 with IO Platform 1.1.3?
I'm trying to start a new app on Spring Data Neo4J 4. I've having some trouble getting the base configuration working though.
Exception in thread "main" org.springframework.beans.factory....
1
vote
0
answers
238
views
Spring IO file based pagination
I have a large file around 20MB and I am using spring Boot for my REST API now task is client will send the fileName and I need to write controller method which will provide the number of pages in ...
4
votes
1
answer
843
views
Issue while using Spring IO Platform
I have created a Spring MVC Project with Maven. I am new to Spring framework. With reference to the following tutorial, I am trying to analyze the Spring Data JPA repositories. I have enabled the ...
3
votes
1
answer
1k
views
How do I use Spring IO Platform BOM and Spring Boot with Gradle?
So this build.gradle seems to work ok
buildscript {
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
classpath('org....
1
vote
0
answers
97
views
hdp:tool-tasklet does not propagate properties
I am using the hdp:tool-tasklet to execute a data transformation job on hadoop.
Reading from the documentation, it seems one can specify a property to be available when the actual implementation is ...
0
votes
1
answer
150
views
Spring expression return type
I need a way to figure out if a supplied Spring Expression can evaluate to boolean or not.
For example, an expression like "age == 18" can return a Boolean in SpEL, but not something like "age + 10".
...
101
votes
5
answers
128k
views
maven dependency without version
Recently I've been working on some improvements in a project developed some time ago, and here's what I found. A lot of dependencies in the pom files go without versions specified, and yet they are ...
5
votes
1
answer
585
views
Spring IO platform release management
Since Spring IO platform was intruduced we manage our project dependencies using the Spring IO platform-bom. Thus we do not specify dedicated versions for single Spring components (or even the ...
0
votes
1
answer
480
views
Spring RestTemplate as a Spring Service
I have developed a REST server with our app specific APIs. we also have deployed a different rest Job server into another location. Currently the way I am doing is .
@RestController
public class ...
3
votes
1
answer
478
views
Spring Boot uses Spring IO implicitly?
I want to get all benefits of Spring IO and Spring Boot. I understood that Spring IO is something larger than Spring Boot. I understood that the main Spring IO concern is about integration, solve ...
5
votes
2
answers
20k
views
how to shutdown ThreadPoolTaskExecutor? Good way
I have ThreadPoolTaskExecutor. I should send too many emails (different emails). If I have error during email sending, I should write it in database.
<bean id="taskExecutor"
class="org....
1
vote
1
answer
1k
views
Why Async requests are destroyed when main thread end? Spring Tasks
I wanted to write async method.
@Component
public class TaskImpl implements Task{
@Async(value="myExecutor")
public void async(int n) throws InterruptedException{
log.info("Executing ...
1
vote
1
answer
541
views
Spring IO Platform Bill-Of-Materials custom version
In order to simplify dependencies and the pom.xml file, I updated a Spring MVC app to use Spring IO platform Bill-Of-Materials.
However I have two problems:
Overriding a specific version of a ...
5
votes
1
answer
8k
views
Using an annotated class in BeanIO instead of an XML for mapping
I'm following this simple tutorial http://beanio.org/
Toward the end says you can use an annotated class instead of an XML file. I did that and in my factory.load() I pass the value with the name of ...
0
votes
1
answer
917
views
DeferredResult is not polling
I am trying to create a multi user chat environment using the base example from https://github.com/rstoyanchev/spring-mvc-chat
I am not able to find what exactly is wrong with my code. The request is ...
0
votes
0
answers
1k
views
Spring tool suite plugin conflict not allowing to import maven projects
I have been using my installation of Spring Tool Suite (Version: 3.5.0.RELEASE Build Id: 201404011851) for quite a while now and have many different work spaces in it. I do not when or which update or ...
2
votes
1
answer
2k
views
Spring Boot Starter Integration and Starter WS not playing well together?
I'm working on a spike to try to exercise a number of technologies with spring boot (1.1.6.RELEASE), gradle (2.1) and Java 1.8. So we are looking at supporting some old style SOAP Web Service calls ...
2
votes
2
answers
2k
views
Issue with imported scope poms (spring bom io dependency issue)
My company policy restricts us from downloading thirdparty artifacts from public repositories (maven_central, spring-io etc)
We use Nexus as a repository manager which hosts all the artifacts that are ...
0
votes
1
answer
111
views
Does Spring IO Platform BOM support Java 1.6?
I saw from the Spring IO Platform website (http://spring.io/blog/2014/06/26/introducing-the-spring-io-platform) and it states that Spring IO is certified to work with Java 1.7 and 1.8.
However, the ...
8
votes
2
answers
8k
views
Inject files as list of resources using wildcard by annotations in Spring
I have a class which I use as a spring bean. The bean is defined in the applicationContext.xml like:
<bean id="myClass" class="com.example.MyClass">
<property name="cssFiles" value="...
1
vote
0
answers
311
views
spring.io hibernate config
I'm using the Spring IO 1.0.1 BOM to manage my dependencies for my project. I've imported it in my super-pom's dependency management section like this -
<dependencyManagement>
<...
0
votes
1
answer
360
views
How to configure Spring io for reading from file and process string as message and push to queue
Steps I need:
read file
take xml string from file as text
push the text as message to QUeue
How to do configure this in Spring io? File inbound channel, outbound channel queue, how to add processor?
28
votes
4
answers
10k
views
What is the relationship between Spring Boot and Spring IO?
Spring has a new project called spring IO http://platform.spring.io/platform/ and it is not really clear what is the difference between that project and Spring Boot.
I am already a spring boot user ...