根据Java EE 7教程,我通过运行命令" mvn install"来达到我需要安装样本原型的程度。
我提示此错误
[INFO] [talledLocalContainer] PER01003: Deployment encountered SQL Exceptions:
[INFO] [talledLocalContainer] Command deploy failed.
[INFO] [talledLocalContainer] PER01000: Got SQLException executing statement "CREATE TABLE SETUPOFFICE (EMPLOYEEID VARCHAR(255) NOT NULL, EMPLOYEENAME VARCHAR(255), EQU
IPMENTLIST VARCHAR(255), OFFICENUMBER INTEGER, PRIMARY KEY (EMPLOYEEID))": java.sql.SQLException: Table/View 'SETUPOFFICE' already exists in Schema 'APP'.
我的问题是:
更重要的是,请提及您的信息来源。本教程非常难以理解,我打算完成它,所以我需要一路走来。
答案 0 :(得分:0)
JavaDB(Derby)连接信息是:
Address: localhost
Username: APP
Password: APP
Schema name: sun-appserv-samples
我从名为“DerbyPool”的池中的JDBC连接池中获取了此信息