2011-08-13 21 views
0

リフトへの私の最初のステップでは、ちょうどthis tutorialで始まりましたが、それは私にとってはうまくいかないでしょう。代わりに、私はこれらの2つの例外を取得、簡単なチャットアプリの:ここでリフト:彗星成分が見つかりません/クラスが見つかりません

Error processing snippet: comet 
Reason: Comet Component not found 

Error processing snippet: ChatIn 
Reason: Class Not Found 

を私のコンパイルWebアプリケーションのディレクトリ構造です:

target/chat-1.0-SNAPSHOT/ 
├── index.html 
├── META-INF 
└── WEB-INF 
    ├── classes 
    │   └── code 
    │    ├── comet 
    │    │   ├── Chat$$anonfun$lowPriority$1.class 
    │    │   ├── Chat.class 
    │    │   ├── ChatServer$$anonfun$lowPriority$1.class 
    │    │   ├── ChatServer.class 
    │    │   └── ChatServer$.class 
    │    └── snippet 
    │     ├── ChatIn$$anonfun$render$1.class 
    │     ├── ChatIn.class 
    │     └── ChatIn$.class 
    ├── lib 
    │   ├── activation-1.1.jar 
    │   ├── commons-codec-1.4.jar 
    │   ├── commons-fileupload-1.2.2.jar 
    │   ├── derby-10.7.1.1.jar 
    │   ├── h2-1.2.147.jar 
    │   ├── htmlparser-1.2.1.jar 
    │   ├── joda-time-1.6.2.jar 
    │   ├── lift-actor_2.9.0-2.4-M3.jar 
    │   ├── lift-common_2.9.0-2.4-M3.jar 
    │   ├── lift-db_2.9.0-2.4-M3.jar 
    │   ├── lift-json_2.9.0-2.4-M3.jar 
    │   ├── lift-mapper_2.9.0-2.4-M3.jar 
    │   ├── lift-proto_2.9.0-2.4-M3.jar 
    │   ├── lift-util_2.9.0-2.4-M3.jar 
    │   ├── lift-webkit_2.9.0-2.4-M3.jar 
    │   ├── mail-1.4.4.jar 
    │   ├── paranamer-2.3.jar 
    │   ├── scala-compiler-2.9.0.jar 
    │   ├── scala-library-2.9.0.jar 
    │   ├── scalap-2.9.0.jar 
    │   └── slf4j-api-1.6.1.jar 
    └── web.xml 

しかし、あなたが見ることができるようにChat、ChatServer、ChatInのコンパイル済みの.classファイルがあるので、何が問題なのですか?

+0

このような問題のヘルプについては、下記をご覧ください。https://app.assembla.com/spaces/liftweb/wiki/comet_issues –

答えて

2

リフトのGoogleグループにこの質問を持参してください:https://groups.google.com/forum/#!forum/liftweb

それはあなたのBoot.scalaに正しい情報が含まれていない可能性が高いですが、ソースなしで、それは問題を把握するのは難しいです。

+0

ありがとうございました!しかし、私はリフトを始めたばかりで、上記のチュートリアルの第2章を終えたばかりです。 Boot.scalaはありません。それは必要ですか? –

+1

このヒントをもう一度おねがいします。私はチュートリアルのgithubプロジェクトでBoot.scalaを見つけましたが、チュートリアルの第2章で説明したことを覚えていません。 –

関連する問題