1
我想编辑一个red5 admin.jsp文件,然后添加到webapps的根文件夹。我这样做,所以我可以设置用户和密码,但是当我得到的是无法编译错误。EmbeddedDataSource无法解析为类型
An error occurred at line: 19 in the jsp file: /admin.jsp EmbeddedDataSource cannot be resolved to a type 16: try { 17: Object o = null; 18: if (o == null) { 19: EmbeddedDataSource eds = new EmbeddedDataSource(); 20: eds.setCreateDatabase("name"); 21: eds.setDatabaseName("user"); 22: eds.setPassword("pass");
这个lib目录会在哪里?请原谅我的无知。 – cea
@Charlie Bunt“YourContext/WEB-INF/lib”。您必须将derby jar文件放在“lib”目录中。 – Tusar