GWT 2.4를 gquery-dnd-bundle 1.0.4와 함께 사용하여 드래그 앤 드롭 노드로 트리를 구성 할 수 있습니다. 나는 성가신 버그 (http://code.google.com/p/gwtquery-plugins/issues/detail?id=6)에 부딪 혔습니다. 그것의 요지는 "gquery-dnd-bundle-1.0.4.jar"파일이 WEB-INF/lib 디렉토리의 gwt-servlet.jar 파일보다 먼저 런타임에 클래스 로더에 의해로드되도록 보장해야합니다.클래스 패스에 JAR 파일을로드하는 순서 제어
어떻게 보증하나요?
유용한 경우 Eclipse Indigo를 GWT 웹 응용 프로그램 프로젝트와 함께 사용하고 있습니다.
는 여기에 당신이 결정하기 위해 모든 종류의에서 "WEB-INF/lib에"JAR의 로딩을 마련 할 수
[ERROR] [draganddroptree] - Errors in 'jar:file:/C:/Documents%20and%20Settings/E18538/workspace/DragAndDropTree/war/WEB-INF/lib/gquery-dnd-bundle-1.0.4.jar!/gwtquery/plugins/droppable/client/gwt/DragAndDropCellTree.java'
[ERROR] [draganddroptree] - Line 24: The type com.google.gwt.user.cellview.client.CellTreeNodeView is not visible
[ERROR] [draganddroptree] - Line 86: CellTreeNodeView cannot be resolved to a type
[ERROR] [draganddroptree] - Line 87: The constructor DragAndDropCellTreeNodeView<T>(DragAndDropCellTree, CellTreeNodeView<?>, TreeViewModel.NodeInfo<T>, Element, T) refers to the missing type CellTreeNodeView
[ERROR] [draganddroptree] - Unable to load module entry point class com.cme.draganddroptree.client.DragAndDropTree (see associated exception for details)
[ERROR] [draganddroptree] - Failed to load module 'draganddroptree' from user agent 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1' at localhost:4490
나는 아주 오래된 버전의 tomcat을 사용하고 있지만 IIRC는 이름의 사전 순으로 항아리를 검사합니다. 어쩌면 그것이 지금 바뀌었을지도 모른다. –
아마 그럴 것입니다.하지만 항상 작동 할 것이라고 보장 할 수는 없습니다. –
여기에는 [here [(http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html)]이 정확히 나와 있지는 않지만 **/WEB-INF/lib/*는 의심 스럽습니다. 웹 응용 프로그램 **의 항아리는 알파벳순이 아닌 모든 것을 의미합니다. –