I completed the todolist tutorial and tried to extend it by adding a main.less stylesheet in app/assets/stylesheets. However, when I try to view the project in the browser with any or no rules in main.less I get this error, nicely displayed by the browser:
Unexpected exception
RuntimeException: Duplicate mappings: /Users/franklinpearsall/Documents/Programming/play-2.0.4/todolist/target/scala-2.9.1/classes/public/stylesheets/main.css
from
/Users/franklinpearsall/Documents/Programming/play-2.0.4/todolist/public/stylesheets/main.css
/Users/franklinpearsall/Documents/Programming/play-2.0.4/todolist/target/scala-2.9.1/resource_managed/main/public/stylesheets/main.css
For one, it seems weird that are css files inside target/scala-2.9.1/classes. Why is this happening? I googled around and couldn't find anything relevant. Any help is much appreciated!
Remove the main.css from the public/stylesheets directory. Seems like you already have a main.less file elsewhere.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With