8 Replies Latest reply on Oct 1, 2010 1:10 AM by davsclaus

    How to access a classpath file from a bean

    larasith

      I need to access a file from a bean of my routing, but i always get the same error:

       

      java.io.FileNotFoundException: classpath:apns.p12

       

      My file is in src/main/resources, do anyone know how to reference it?