http://wavded.tumblr.com/post/258713913/installing-tomcat-6-on-centos-5

http://yaplog.jp/guitarist_y/archive/108


yum install tomcat6*  tomcat관련 패키지 인스톨

yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps  특정 패키지만 인스툴

아래와 같은 에러가 발생 할 경우 해당 블로그에 적혀 있는대로 

rpm -Uvh'http://plone.lucidsolutions.co.nz/linux/centos/images/jpackage-utils-compat-el5-0.0.1-1.noarch.rpm'

--> Finished Dependency Resolution
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 from rhel-x86_64-server-5 has depsolving problems
  --> Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64 (rhel-x86_64-server-5)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

Consider a simple Xsctream example to create JSON out of the Bean:

Bean bean = new Bean();
bean
.addNames("John", "Doe");
bean
.addNames("Jane", "Doe");

XStream xstream = new XStream(new JettisonMappedXmlDriver());    
xstream
.setMode(XStream.NO_REFERENCES);

System.out.println(xstream.toXML(bean));

results in

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jettison/mapped/Configuration
    at com
.thoughtworks.xstream.io.json.JettisonMappedXmlDriver.<init>(JettisonMappedXmlDriver.java:55)
    at
Main.main(Main.java:12)

Note that libraries are imported as they should be

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;

And proper jars are included

enter image description here

link|improve this question

feedback
  
 

2
down voteaccepted

You need jettison.jar from codehaus click this link



'Java' 카테고리의 다른 글

enum equals string  (0) 2012.07.10
Installing Tomcat 6 on CentOS 5  (0) 2012.06.18
Java에서 XML없이 SQL개발하기  (0) 2011.07.01
Fiddler post형식으로 테스트 데이터 보내기  (0) 2011.03.22
split(".")  (0) 2010.08.19



크롬에서 유튜브 동영상 다운로드 할때 

이거 만큼 편한 툴을 없을듯.. 

확장프로그램 검색해서.. 아마도 맞을듯.. 

[Chrome YouTube Downloader]


웹페이지 PDF 화 해서 다운로드 받는것

[PDFmyURL]

상단에서 P만 클릭하면 알아서 다운로드 까지 되는.. 완전 편하다는.

가끔 실패할때 빼고..


'날적이' 카테고리의 다른 글

PDFmyURL  (0) 2011.11.17
Hadoop 0.20.205.0 , Hive-0.7.1, Hbase-0.90.4  (0) 2011.11.10
멀티 브라우저를 지원하는 은행 서비스.. 우리 오픈 뱅킹  (0) 2011.07.11
블로그 어렵다...  (0) 2010.10.20
첫 글...  (0) 2010.06.01

+ Recent posts