Dave's Brain

Browse - Programming Tips - What is causing this warning when I compile my project:

Date: 2012nov19
Language: Scala
Product: ant

Q.  What is causing this warning when I compile my project:
Cannot find annotation method 'bytes()' in type 'ScalaSignature'

A.  You need to include the Scala libary with your Java code.

So if you are using Ant add something like:

<javac ...> ... <classpath refid="scala-build-classpath"/> </javac>
to your <javac>

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.