I found out from the Internet and found that the following buddy was right. The excerpt is as follows. Thanks to him by the way.
Questions about weblogic9 usage
1. For autodeploy, WebLogic can automatically identify and complete deployment as long as it is stored in the directory. In practice, I found that I did not correctly understand the meaning of auto.
The correct method is to start the Web server, and then paste the application directory. Previously, I copied the file and started the sever. As a result, there were always applications that could not be automatically deployed. Alas, I am stupid! But I still don't understand a bit. Do I put it in the application directory of the automatic deployment. I won't check whether there is any difference each time the server starts? Why can't I find the new application directory when I check my business trip? Continue Study
-------- It is verified that the autodeploy directory cannot be merged without WebLogic startup, so automatic deployment cannot be achieved, and only the WebLogic Server can be started.
2. annotations in XML must be removed to achieve successful deployment.
At first, the application could not be deployed successfully, but it was impossible to use the n method. Later, I saw a buddy wrote a remark about deploying opencms on weblogic9, and <description> In the <init-param> label. According to what he said, I deleted some content and the deployment was successful. But this problem does not occur in Weblogic8.1. Does the XML Parser of weblogic9.2 change to another one? Continue watching
-------- The verified annotation does not exist, and the format check of Web. XML is very strict, so it is almost impossible to implement auto
3. unmarshaller failed
After the annotation is solved, this error is endless. I checked the web. there are no special characters in XML, and no servlet does not match mapping. Now I can't believe that the tag is wrong when I check a single Portlet, however, it is no longer a technical activity but a physical activity. Continue ctrlc + ctrlv
------- This ctrlc + ctrlv also depends on luck, Yang Yan's ctrlc + ctrlv failed, my success. It is suspected that some edit mode of ultraedit will add some hidden information to the XML.
4. weblogic. xml
Every application needs to add this item. In fact, there is nothing in it, and it does not understand the meaning of forcible use. Continue Study
------- I still don't understand
There is also a saying that automatic publishing can take effect, but how does WebLogic identify file changes. he said that he would like to create an empty redeploy file under Web-INF. the system detects this. but it does not feel right. it's impossible to change this every time you change another release... not too understandable. no practice. I hope you can reply to me and give me a confirmation. I remember it seems to be automatic. If any file is changed, it should be automatically passed ..
From http://zhangxinzhou.blog.ccidnet.com/blog-htm-do-showone-uid-36421-itemid-327110-type-blog.html