-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I am working on a ZK demo. Need to make Autowired working. I am using ZK+spring+maven2. I added the following dependencies in my pom.xml
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkspring-core</artifactId>
<version>3.0RC</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkspring-security</artifactId>
<version>3.0RC</version>
</dependency>
Now I am getting these errors in pom.xml
- Missing artifact org.springframework:org.springframework.aop:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.asm:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.core:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.context:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.context.support:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.beans:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.web.servlet:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.expression:jar:3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.transaction:jar: 3.0.2.RELEASE:compile
- Missing artifact org.springframework:org.springframework.web:jar:3.0.2.RELEASE:compile
tried to add some dependencies but it did not work.
Please suggest what dependencies I need to add.
thanks,
Ajaidka
Add the missing jars.
. . . <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-tx</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> . . . <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spring.version>3.0.0.RELEASE</spring.version> <zkosslibs>${basedir}/src/main/webapp/WEB-INF/lib/</zkosslibs> <springsecurity.version>3.0.2.RELEASE</springsecurity.version> <zkoss.version>5.0.6</zkoss.version> </properties> . . .
best
Stephan
it's in the zkspring-core.jar
i have it manually copied in the /lib folder :-(((((
<dependency> <groupId>org.zkoss.spring</groupId> <artifactId>zkspring</artifactId> <version>3.0RC</version> <scope>system</scope> <systemPath>${zkosslibs}zkspring-core.jar</systemPath> </dependency> <dependency> <groupId>org.zkoss.spring</groupId> <artifactId>zkspring-security</artifactId> <version>3.0RC</version> <scope>system</scope> <systemPath>${zkosslibs}zkspring-security.jar</systemPath> </dependency>
Asked: 2011-04-21 01:59:59 +0800
Seen: 2,172 times
Last updated: Apr 21 '11
ZK studio and eclipse outline problem
ZK Package configuration problem
Eclipse Autocomplete not working in ZUL files...
Syntax Error mark ... help me!
Manual Installation of ZK Studio
Can't see button text whilst running simple demo
Adding Vbox to Center layout in Java