-
Sep 19th, 2012, 12:48 AM
#1
set up the spring blog sample app(from pro spring 3) in spring source tool suite
Hi friends
I download spring blog sample application code of pro spring 3.0 book from the following repository
https://github.com/prospring3/springblog .
Then I import that in to Spring source tool suite.
Then I deployed the application in server .
Server started and the application synchronized.
I run the application by http://localhost:8080/springblog/blogs.
I got the error the requested resource(/spring blog/) is not available.
Before that under web-inf there are some xml files under the folder spring.
they are batch-context.xml,blogapp-webmvc-config.xml,datasource.xml .........................
In these xml files i have some errors.
The batch-context.xml file is
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:integration="http://www.springframework.org/schema/integration"
xmlns:file="http://www.springframework.org/schema/integration/file"
xmlns:batch="http://www.springframework.org/schema/batch"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-3.1.xsd
http://www.springframework.org/schema/integration http://www.springframework.org/schem...ntegration.xsd
http://www.springframework.org/schema/integration/file http://www.springframework.org/schem...ation-file.xsd
http://www.springframework.org/schema/batch http://www.springframework.org/schem...-batch-2.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">
<bean id="jobRepository" class="org.springframework.batch.core.repository.s upport.JobRepositoryFactoryBean" >
<property name="databaseType" value="h2" />
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="isolationLevelForCreate" value="ISOLATION_DEFAULT"/>
</bean>
-----
-----
In the above error is
Class 'org.springframework.batch.core.repository.support .JobRepositoryFactoryBean' not found [config set: springblog/web-context]
Like the above some errors in this file and other xml files also.
Can help me to find what i missed here?
thanks
meena.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules