
Questions: 19,736 //
Answers: 43,524 //
Contributing Members: 14,735
when i'm trying to import resource
Getting the below error
Configuration problem: Failed to import bean definitions from URL location [classpath:dcs.xml] mule
if i'm giving full path so it's working
Are they all in the same application? Why do you need to explicitly import those? Anything in src/main/app
is automatically imported (as long as that folder is on classpath).
3 days ago, kkumararun answered with:
Hello @ryanandal it get resolved after changing the workspace . Now i don't want to provide the relative path
Apr 12 at 09:21 AM, ryanandal answered with:
Hi @kkumararun
Where is the location of your file? To import your xml, you should use
<spring:beans>
<spring:import resource="classpath*:dcs.xml"/>
</spring:beans>
Ryan Anthony Andal
MuleSoft Forum Moderator
Senior Integration Consultant
WhiteSky Labs
Please report spam messages in the forum.
Apr 12 at 09:45 AM, kkumararun answered with:
Hey It's all under the app folder.
<spring:import resource="classpath:./src/main/app/authenticationBackendService/janrainoperations.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/account/registration.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/account/subscription.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/account/update.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/account/verification.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/password/changepassword.xml"/>
<spring:import resource="classpath:./src/main/app/customer/security/password/resetpassword.xml"/>
<spring:import resource="classpath:./src/main/app/eventHandling/eventhandler.xml"/>
<spring:import resource="classpath:./src/main/app/idSubscriber/id-subscriber.xml"/>
<spring:import resource="classpath:./src/main/app/dcs.xml"/>
<spring:import resource="classpath:./src/main/app/mcd-common.xml"/>
</spring:beans>
Hi @kkumararun
I updated my answer. Please try the one with asterisk.
Ryan Anthony Andal
MuleSoft Forum Moderator
Senior Integration Consultant
WhiteSky Labs
Please report spam messages in the forum.