0
我在部署maximo.ear後遇到了一些奇怪的錯誤。一個是\t\t\t java.langString
:WebSphere 8.5.5.11如何處理部署描述符(如web.xml)內的選項卡?
AbstractInjec E CWNEN0009E: The injection engine failed to process the XML code from the deployment descriptor due to the following error: Referenced class could not be loaded : java.lang.String
這個錯誤似乎很奇怪,一個整理XML可能行爲不同於一個不上部署整理?我認爲>
和<
之間的任何數據會削減任何製表符和換行符?
下面是兩個例子,第一個是整理,第二個是不整理。
我是新來的XML,所以我不太確定XML數據應該如何行爲或規範在選項卡和換行符上。
<env-entry>
<description>
Indicates whether to use Application Server security or not
</description>
<env-entry-name>
useAppServerSecurity
</env-entry-name>
<env-entry-type>
java.lang.String
</env-entry-type>
<env-entry-value>
1
</env-entry-value>
</env-entry>
VS標籤包括標籤,新線內
<env-entry>
<description>Indicates whether to use Application Server security or not</description>
<env-entry-name>useAppServerSecurity</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>1</env-entry-value>
</env-entry>