我刚刚使用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/*
答案 0 :(得分:0)
CloudBees平台基于UNIX(Linux),因此区分大小写。
您的meta-inf
文件夹应重命名为META-INF