lift import net.liftweb returns an error “not found: value net”

霸气de小男生 提交于 2019-12-21 19:43:57

问题


I'm new with scala and lift but I already got the pocketchangeapp up and running and playing around with the RestAPI thing in it. Now I created a new project and it worked quite well until last night. I made my latest changes and commited them in svn but hat a problem with my workspace so I deleted my projects and did a checkout of the Project in svn. Since I did that my imports of net.liftweb._ (any classes also if I write the exact class name) only return an error in eclipse:

import net.liftweb._ gives me "not found: value net"

I checked again all dependencies in the pom.xml but I cannot find the error. Help would be great, thank you. Michael


回答1:


I got it... I had to reconfigure Build Path and add the lift dependencies so the maven dependencies showed up again. After that I had to edit every single file and save it again to make my imports work!



来源:https://stackoverflow.com/questions/2083409/lift-import-net-liftweb-returns-an-error-not-found-value-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!