当我尝试在 glassfish 上运行我的应用程序时,我在控制台中收到以下错误。
SEVERE: DPL8015: Invalid Deployment Descriptors in Deployment descriptor file META-INF/application.xml in archive
" The content of element type "application" is incomplete, it must match "(icon?,display-name,description?,module+,security-role*)".
我的“application.xml”中有以下代码
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>MTCpreprint</display-name>
</application>
应该怎么做才能解决这个问题?