/POST.TPL to generate the full HTML output. Write a blog as long as the Org file, publish is to use Emacs Export HTML to get Pub/post directory
Directory format
The generated blog directory:
Pub├──css│└──styles.css├──img│├──back-footer.png│├──back.png│└──header.jpg├──page│├──about.html│ └──index.html├──post│├──beansdb.html│├──chibi-scheme0.html│ └─chibi-scheme1.html│└──template ├──arch S.tpl ├──categories.tpl ├──index.tpl ├──left.tpl ├
requires a jar package: Gson. jar
:Http://code.google.com/p/google-gson/downloads/detail? Name=google-gson-2.2.4-release.zip
Example: Convert the json string obtained through js to a Map and List set. The Code is as follows:
Package util; import java. util. arrayList; import java. util. hashMap; import java. util. list; import java. util. map; import com. google. gson. gson; public class JSONHelper {private Gson gson = new Gson ();/*** converts a jso
In the beginning, I configured user libraries (Struts-2.2.3 for multiple projects) according to a textbook ), then introduce Struts-2.2.3 directly (this package will not be placed in the project folder ):
However, the program cannot be started due to an error as shown in the following figure:
Severe: exception starting filter struts2Java. Lang. classnotfoundexception: org. Apache. struts2.dispatcher. Ng. Filter. strutsprepareandexecutefilterAt
When installing ADT in eclipse in Ubuntu, you may encounter a solution missing org. Eclipse. WST. SSE. Core 0.0.0.
Find the problem on the network
Today, the following error occurs when you configure the ADT with eclipse in Ubuntu to configure the android development environment:
1 cannot complete the install because one or more required items cocould not be found.
2 software being installed: Android development tools 8.0.1.v
Org. springframework. web. context. ContextLoaderListener solution,
Recently deployed ssm project in tomcat. When tomcat is started, the org. springframework. web. context. ContextLoaderListener error is reported.
Severe: Error Processing ing application listener of class org. springframework. web. context. contextLoaderListenerjava. lang. classNotFoundException
Org. springframework. web. servlet. view. InternalResourceViewResolver Memory leakage problem, resourceview
Spring uses org. springframework. web. servlet. view. InternalResourceViewResolver Memory leakage
With Eclipse Memory Analyzer (http://www.eclipse.org/mat/) analysis tools, 50.51% in heap Memory is produced by InternalResourceViewResolver.
The current Spring version I use is Spring 3.1.1.RELEASE.
On
Test Tomcat comet
Java. Lang. nosuchmethodexception: org. Apache. Catalina. Deploy. webxml addservlet exception
Because the project uses Tomcat's Catalina. jar and is deployed to Tomcat, this package is also deployed, and an exception is reported during deployment.
2012-7-27 11:44:05 org. Apache. Catalina. startup. contextconfig parsewebxmlSevere: Parse error in Application Web. xml file at JNDI:/localhos
Recently, I was working on the spring + struts2 + ibatis project. Yesterday, the eclipse server started normally. As a result, an error is always reported as follows:
Severe: Error Handling ing application listener of class org. springframework. Web. Context. contextloaderlistenerJava. Lang. classnotfoundexception: org. springframework. Web. Context. contextloaderlistenerAt
This exception means that the int type cannot be assigned null, while the integer type can.
If the int value can be null in the MySQL database, the integer type should be used in my modle class and ing file.
This is not the same as the automatic unpacking of Java 5.
Integer I = 3; // auto-boxing int A = I + 3; // auto-Unpacking
Note the NULL pointer exception (nullpointerexception) When unpacking )!
For example, integer x = NULL;Int y = X;
Solution:
Set the original
During Hibernate development, org. hibernate. NonUniqueObjectException processing and deadobjectexception are encountered.
Today, I encountered an operation to update data in the project. I found that no error was reported in the code, but the data was not updated. So I spent most of my time looking for the problem, finally, I found that the exception was swallowed up directly when I tried (= !! Blood lesso
I took a look at the tutorial a few days ago and tried to configure hibernate on the Web. when there was a tragedy, the following error message was prompted:
Information: hibernate validator bean-validator-3.0-JBoss-4.0.2Exception in thread "Main" org. hibernate. hibernateexception: unable to get the default bean validation factoryat Org. hibernate. cfg. beanvalidation. beanvalidationactivator. applyddl (b
Use JBoss + Oracle to use oracle-xa-ds.xml for Distributed Transaction Processing
We will configure two or more databases and report the following when starting JBoss:
Org. JBoss. Deployment. deploymentexception: trying to install an already registered mbean: JBoss. JCA: service = oraclexaexceptionformatter
JBoss content:
--- Incompletely deployed packages ---Org. JBoss. Deployment. deploymentinfo @ 9dc2668
time for Tomcat 7 and the execution limit is large or small.
... ...
New features facilitate and better support for new Java features. I feel that Tomcat 7's support for servlet3.0 and Java annotaion should be based on the need to popular 0 configurations or minimize configuration files. The arrival of servlet3.0, the most profound difference is that a servlet can be configured directly at the code level and does not need to be configured on the web.
I encountered a very depressing thing today. I had a good time installing Zend debug in the morning, but I don't know what the problem occurred in the afternoon. The error prompt always pops up, which is inexplicable, this seriously affects productivity.
For example, org/Eclipse/PHP/Internal/debug/CORE/preferences/phpprojectpreferences, or org. Eclipse. Debug. Core. debugexception: errors related to debuggi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.