CloudBees上的mysql-connector jar错误

时间:2013-10-18 16:40:10

标签: mysql java-ee glassfish cloudbees

我刚刚使用Java EE 7/Glassfish 4部署了CloudBees SDK持久性应用程序。我在我的webapp的mysql-connector-java-5.1.23-bin.jar文件夹中添加了一个mysql-connector jar META-INF/lib。我得到了如下错误:

Deploying application javaeeapp/order (environment: ): order-7.0.1.war
........................uploaded 25%
........................uploaded 50%
........................uploaded 75%
........................upload completed
deploying application to server(s)...

ERROR: Server.InternalError - java.lang.IllegalArgumentException: Platform error - plugin_setup_error: glassfish4 11 Creating application skeleton at /var/genapp/apps/1cd83989
Installing glassfish
Copying application war to /var/genapp/apps/1cd83989/glassfish4/glassfish/domains/domain1/autodeploy
found 2 files matching meta-inf/lib/
Archive:  /mnt/genapp-tmp/stax-genapp-1382111428.34851/app/app.war
caution: filename not matched:  META-INF/lib/*

1 个答案:

答案 0 :(得分:0)

CloudBees平台基于UNIX(Linux),因此区分大小写。

您的meta-inf文件夹应重命名为META-INF