fengbaicanhe / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

ClassNotFoundException #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I've installed acts_as_flying_saucer plugin for Ruby on Rails
2. I've java 1.6.x
3. I've made a simple app with the following code in the controller
render_pdf :template => 'people/pdf.html',:send_file => {:filename =>'test.pdf'}

What is the expected output? What do you see instead?
I'll always get following error
Exception in thread "main" java.lang.NoClassDefFoundError: 
Data/NetBeansProjects/pdftesti/vendor/plugins/acts_as_flying_saucer/lib/java/jar
/acts_as_flying_saucer/jar
Caused by: java.lang.ClassNotFoundException: 
Data.NetBeansProjects.pdftesti.vendor.plugins.acts_as_flying_saucer.lib.java.jar
.acts_as_flying_saucer.jar
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

What version of the product are you using? On what operating system?
OS X 10.6.6 with Java 1.6.x and the most recent version of the rails plugin

Original issue reported on code.google.com by jus...@gmail.com on 15 Mar 2011 at 8:43

GoogleCodeExporter commented 8 years ago
It sounds like this is something that needs to be reported to the developers of 
the acts_as_flying_saucer plugin.  This isn't something we worked on (or for 
that matter anything I've heard of before).

Original comment by Peter.Br...@gmail.com on 24 Mar 2011 at 1:07