Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9185153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:13:22+00:00 2026-06-17T19:13:22+00:00

I am trying to pass the XSL file which is located in the classpath

  • 0

I am trying to pass the XSL file which is located in the classpath to Mule XSL-T transformer in my flow. Bit it is giving me error.

<mule-xml:xslt-transformer
maxIdleTransformers="2" maxActiveTransformers="5"
xsl-file="classpath:xslt/Person_Extractor.xsl">
</mule-xml:xslt-transformer>

Given below is the error shown in Eclipse console when I tried to run this application.

********************************************************************************

2013-01-18 15:00:00,596 ERROR [main] mule.MuleServer (MuleServer.java:474) - 
********************************************************************************
* A Fatal error has occurred while the server was running:                     *
* Unable to load resource classpath:xslt/Person_Extractor.xsl                  *
* (java.io.IOException)                                                        *
*                                                                              *
* The error is fatal, the system will shutdown                                 *
********************************************************************************

I tried all the different combinations like

classpath:/xslt/Person_Extractor.xsl
classpath:\xslt\Person_Extractor.xsl                                    

But no luck.

When I give the full physical path of the file it works fine.

<mule-xml:xslt-transformer
maxIdleTransformers="2" maxActiveTransformers="5"
xsl-file="c:\EWS\MyMuleProj\src\main\resources\xslt\Person_Extractor.xsl">
</mule-xml:xslt-transformer>

Please guide me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:13:23+00:00Added an answer on June 17, 2026 at 7:13 pm

    The docs say xsl-file “can be a path on the local file system or on the classpath”, so have you tried without the classpath:, i.e. xsl-file="xslt/Person_Extractor.xsl"?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to process an xml file which has several different state groups
im trying to pass on the id attribute to the file.php, but its giving
Trying to pass in a user supplied string which has a path to the
Trying to pass a string argument to a function, which will then be used
I'm trying to pass a couple of parameters to an XSLT style sheet. I
Trying to pass GetFullNamePDF() to the Filename attribute, but getting the following error: Compile
I'm trying to parse an xml file output from googletest to display the results
I'm trying to pass a parameter to an XSLT stylesheet, but all i'm getting
I'm trying to pass parameters (through c#) to the following XSLT to build a
i am trying to transform my xml via java/xalan (2.7.1) with org.apache.xalan.xslt.Process class I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.