Apache Wink integration with Spring -
i trying integrate apache wink 1.4 spring on jboss eap 6.4. below pom.xml excerpt.
<dependency> <groupid>org.apache.wink</groupid> <artifactid>wink-server</artifactid> <version>1.4</version> </dependency> <dependency> <groupid>org.apache.wink</groupid> <artifactid>wink-spring-support</artifactid> <version>1.4</version> </dependency> <dependency> <groupid>org.apache.wink</groupid> <artifactid>wink-client</artifactid> <version>1.4</version> </dependency> <dependency> <groupid>org.apache.wink</groupid> <artifactid>wink-json4j</artifactid> <version>1.4</version> </dependency> <dependency> <groupid>org.jboss.archetype.eap</groupid> <artifactid>jboss-javaee6-webapp-archetype</artifactid> <version>6.4.0.ga</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-core</artifactid> <version>4.1.6.release</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-context</artifactid> <version>4.1.6.release</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-web</artifactid> <version>4.1.6.release</version> </dependency>
i have configuration in web.xml winkdefault.properties.
while building application, not able find "meta-inf/wink-default.properties" getting following exception in server log.
[org.springframework.web.context.contextloader] (serverservice thread pool -- 96) context initialization failed: org.springframework.beans.factory.beandefinitionstoreexception: ioexception parsing xml document class path resource [meta-inf/wink-default1.properties]; nested exception java.io.filenotfoundexception: class path resource [meta-inf/wink-default.properties] cannot opened because not exist
could on please ?
i decompiled wink-spring-support.jar , changed context following classpath:meta-inf/server/wink-core-context.xml , able register.
Comments
Post a Comment