|
|
|
Digester error. Откуда?
|
|||
|---|---|---|---|
|
#18+
Tomcat 5.0.28. Struts 1.2.4 При запуске выдает такую фигню: Tomcat log2005-01-06 10:36:58 StandardContext[/APP]06.01.2005 10:36:58 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 35 column 45: Element type "message-resources" must be declared. org.xml.sax.SAXParseException: Element type "message-resources" must be declared. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) .... 06.01.2005 10:36:58 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 39 column 62: Element type "plug-in" must be declared. org.xml.sax.SAXParseException: Element type "plug-in" must be declared. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) .... 06.01.2005 10:36:58 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 44 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ..... struts-config.xml: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. Где ошибка то? Вроде DTD соответствует... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.01.2005, 08:45 |
|
||
|
Digester error. Откуда?
|
|||
|---|---|---|---|
|
#18+
причем, на самом деле томкат находит файл, который объявлен в message-resource и подключает плагин в теге <plug-in>. Так почему он всё таки ругается? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.01.2005, 08:49 |
|
||
|
Digester error. Откуда?
|
|||
|---|---|---|---|
|
#18+
Черт. В томкате валяется struts-config_1_0.dtd и struts-config_1_1.dtd. Похоже он использует 1.0. Но у меня ведь в struts-config.xml явно прописан 1.1? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.01.2005, 09:14 |
|
||
|
Digester error. Откуда?
|
|||
|---|---|---|---|
|
#18+
тьпху. Заменил в struts-config.xml 1_1 на 1_2 и заработало. Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.01.2005, 09:24 |
|
||
|
|

start [/forum/topic.php?fid=59&fpage=824&tid=2153150]: |
0ms |
get settings: |
11ms |
get forum list: |
17ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
50ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
37ms |
get tp. blocked users: |
2ms |
| others: | 238ms |
| total: | 378ms |

| 0 / 0 |
