Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ant Build fails to find Native library (win32-x86-64/sass.dll) #10

Open
zwollner opened this issue Oct 26, 2016 · 0 comments
Open

Ant Build fails to find Native library (win32-x86-64/sass.dll) #10

zwollner opened this issue Oct 26, 2016 · 0 comments

Comments

@zwollner
Copy link

This is just a straight ant build with the sass taskdef classpath pointing to the sass-java-4.0.0.jar and the jna-4.2.2.jar

BUILD FAILED
...\build.xml:144: java.lang.UnsatisfiedLinkError: Unable to load library 'sass': Native library (win32-x86-64/sass.dll) not found in resource path ([file:/C:/dev/software/apache-ant-1.9.7/lib/ant-antlr.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-bcel.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-bsf.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-log4j.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-oro.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-regexp.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-resolver.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-apache-xalan2.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-commons-logging.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-commons-net.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-jai.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-javamail.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-jdepend.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-jmf.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-jsch.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-junit.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-junit4.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-launcher.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-netrexx.jar,file:/C:/dev/software/apache-ant-1.9.7/lib/ant-swing.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant-testutil.jar, file:/C:/dev/software/apache-ant-1.9.7/lib/ant.jar,file:/C:/Program%20Files/Java/jdk1.8.0_101/lib/tools.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:342)
at com.cathive.sass.jna.SassLibrary.(SassLibrary.java:19)
at com.cathive.sass.SassFileContext.create(SassFileContext.java:44)
at com.cathive.sass.SassTask.execute(SassTask.java:268)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant