[
https://issues.apache.org/jira/browse/TUSCANY-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900338#action_12900338
]
winston antony commented on TUSCANY-3655:
-----------------------------------------
I am using the same namespace but still i am not able to use the below tag. It
is not recognising the <sca:xxx tags...........in the applicationContext.xml.
<sca:service name=xxxxxx
type=xxxxx target=xxxx /> This line shows an error Failed to read
schema document 'http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd'. Please
correct me if there is anything wrong.
Am i supposed to use any other jar file or different versions? Currently 2.0-M5
jars are being used.
If you have any sample application for Spring webapplication with Tuscany, plz
share the same.
The namespace used in my application is:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:sca="http://www.springframework.org/schema/sca"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/sca
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd" >
> implementation.spring in a Web Applicaton
> -----------------------------------------
>
> Key: TUSCANY-3655
> URL: https://issues.apache.org/jira/browse/TUSCANY-3655
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Spring Implementation Extension
> Affects Versions: Java-SCA-2.0-M5
> Environment: JSF2.0, Spring3.0, Hibernate3.1 and java-SCA 2.0
> Reporter: winston antony
>
> <implementation.spring location="applicationContext.xml"/> this is
> throwing the below error
> org.apache.tuscany.sca.contribution.processor.ContributionReadException:
> Location cannot be resloved: applicationContext.xml
> applicationContext.xml is put under web-inf directory as well as under src
> directory. Still it is not able to find the applicationContext.xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.