0
データベースにアクセスするためにhibernateを使用するシンプルなJavaスプリングサーバーを設定しました。しかし、データベーステーブルに対してクエリを実行するときに、flexデータサービスウィザードのtestOperation関数がこのエラーメッセージを返します。私はこれが問題であるかを確認傾けるようJava Spring Blaze DS - ANTLR例外
InvocationTargetException:There was an error while invoking the operation. Check your server settings and try invoking the operation again.
Reason: Server error java.lang.NoClassDefFoundError : antlr/ANTLRException null
今ANTLRのjarはクラスパス上で、サーバー上のlibフォルダです。このエラーがなぜ発生するのかについての情報は、誰にもありますか?これはコンソール出力でも役に立ちます。私はfooと呼ばれる別のクラスを持っています。これは同じハイバーネイトテンプレートを使ってデータベースにバーオブジェクトを保存し、これは完全に動作します。ユーザーデータベースに対して操作を実行しようとしているとき。
BlazeDS]FlexSession created with id '0F8814A114349B363B928EDAF0694597' for an Http-based client connection.
[BlazeDS]Deserializing AMF/HTTP request
Version: 3
(Message #0 targetURI=, responseURI=/0)
(Array #0)
[0] = (Typed Object #1 'flex.messaging.messages.RemotingMessage')
timestamp = 0.0
headers = (Array #2)
operation = "findByFname"
body = (Array #3)
[0] = "Chris"
source = null
remotePassword = null
remoteUsername = null
parameters = (Array #4)
[0] = "Chris"
messageId = "3E55B425-C80A-FC8F-DE71-1781509D62F8"
timeToLive = 0.0
clientId = null
destination = "userServiceImpl"
2011-01-16 21:27:36 DEBUG [http-8080-2] (SessionImpl.java:247) - opened session at timestamp: 12952132559
[BlazeDS]Serializing AMF/HTTP response
Version: 3
(Header #0 name=AppendToGatewayUrl, mustUnderstand=true)
";jsessionid=0F8814A114349B363B928EDAF0694597"
(Message #0 targetURI=/0/onStatus, responseURI=)
(Typed Object #0 'flex.messaging.messages.ErrorMessage')
headers = (Object #1)
rootCause = (Typed Object #2 'java.lang.NoClassDefFoundError')
message = "antlr/ANTLRException"
localizedMessage = "antlr/ANTLRException"
cause = (Typed Object #3 'java.lang.ClassNotFoundException')
message = "antlr.ANTLRException"
localizedMessage = "antlr.ANTLRException"
cause = null
exception = null
body = null
correlationId = "3E55B425-C80A-FC8F-DE71-1781509D62F8"
faultDetail = null
faultString = "java.lang.NoClassDefFoundError : antlr/ANTLRException"
clientId = "3E55BD3A-0009-92C7-EA7F-7636A529BFBF"
timeToLive = 0.0
destination = "userServiceImpl"
timestamp = 1.295213256298E12
extendedData = null
faultCode = "Server.Processing"
messageId = "3E55C800-CA0B-BE98-FA79-64DC86BD18B1"