2013-10-14 2 views
0

작은 리팩터링을했는데 모든 것이 구문 상 정확하며 꼭 컴파일해야합니다. 그러나, 오류가 발생했습니다 :SBT 스칼라 프로젝트에서 잘못된 기호 참조

[error] bad symbolic reference. A signature in MyClass123.class refers to type MyClass456 
[error] in package com.mypackage which is not available. 
[error] It may be completely missing from the current classpath, or the version on 
[error] the classpath might be incompatible with the version used when compiling MyClass123.class. 
[error] one error found 

내가 다른 아무것도 변경하지 않았다. 나는 코드를 이전의 unrefactored 버전으로 되 돌리지 만 에러는 남아있다. 나는 또한 sbt를 다시 적재하려고 노력했다.

어쩌면 sbt에서 생성 된 파일을 어떻게 든 정리해야합니까? 그렇지 않다면 어떻게해야합니까?

+0

도움이 될 수 있습니다. http://stackoverflow.com/questions/21980269/build-error-for-scala-slick-2-0-0, 오히려 그 질문에 대한 해결책 – Adrian

답변

1

가장 좋은 추측은 실제로 프로젝트를 정리해야한다는 것입니다. 그냥 sbt clean을 입력하십시오.

관련 문제