Eclipse skills, problems and solutions

xiaoxiao2021-03-06  54

Error starting Eclipse, Problems During Startup .Check the '.log' file in ".metadata" DirectiOTY of You Workspace. It is often necessary to reload JRE to solve the Eclipse project cannot be browsed. Tomcat does not recognize this virtual directory, and Tomcat does not recognize this virtual directory. Reason: Engineering No servlet-api.jar file Tomcat -> conf-> lib directory plus Tools.jar files in the server.xml file, Tomcat can also browse, tomcat-> conf-> catalina-> localhost There is a hand beanutils.copyproperties to copy according to the property name in the bean, so it is sure that the attribute name is the same, but the type of Argument Type Mismatch Copy Properties error occurs when using Hibernate, Het.Sf.hibernate.mAppingexception no interster for, Reason: There is only one ID Entity, hbm.xml file, cfg.xml file, see if the HBM.xml file name is written, for one-to-many (parent-to-child), should use child.setParent (Parent " ), Not Child.SetParent (PARENT.ID), his own question is that no mapping file is found, if there is The directory is not a SRC directory that cannot be debugged. Cause: preference-> Tomcat-> Source path, you do debugging the project does not tell if the forward path is dynamic, you can use New ActionForWord in the action, not in Struts-Config The .xml file is configured. Why don't you use Entity instead of DTO? 1.Hibernate has a connection. If you pass the Entity to the interface, the connection does not release the 2.ENTITY is a simple object, and the DTO can be packaged into a complex type object Java to perform the CMD shell script: Runtime.Getruntime () .exec ("cmd.exe / c: //b.exe")

转载请注明原文地址:https://www.9cbs.com/read-113350.html

New Post(0)