遇到的杂类问题以及解决
lovelyxiaoyu
这个作者很懒,什么都没留下…
展开
-
mvn jetty:run-war 时出错
报了错:java.lang.ClassNotFoundException: sun.tools.native2ascii.Main找了原因,将 jdk/lib/tools.jar 拷贝到 jdk/jre/lib/ext 下面即可解决。 这绝对是 native2ascii-maven-plugin 的bug了。原创 2009-04-23 15:50:00 · 474 阅读 · 0 评论 -
interceptor-stack 中关于 validation 框架的设置
设置了一个自己的interceptor-stack,基本上参照了 completeStack 的设置,只是当时觉得 workflow 这个interceptor没有用,去掉了。 然后,在 validation验证框架中,就出现了能被validation验证,但是就算有错也还会到action中进行执行。 将 workflow 加上,就OK了。原创 2009-05-06 16:55:00 · 336 阅读 · 0 评论 -
DRY principle
Don’t repeat yourself (DRY)Every distinct concept and/or piece of data should live in one, and only one, place. Redundancy is bad. Normalization is good.The framework, within reason, shou转载 2009-08-21 10:56:00 · 599 阅读 · 0 评论 -
maven embedded error
Hello, I have a multi-module maven project. One of the modules is a website that depends upon a services module. When I try to compile the website I get the following error: [ERROR] BUILD ERROR [INFO]原创 2009-12-14 12:14:00 · 488 阅读 · 0 评论