글쓴이 :장정문 2000년 7월 18일 11:12:56
서버를 자바개발툴(visual-j++) 로 컴파일뒤 실행하고
에플릿은 그냥 IE 상에서 실행했습니다. 서버가 개발툴에서 실행될때는
에플릿클라이언트와 객체 를 문제없이 주고 받습니다만
개발툴이 아닌 도스 프롬프트상에서 java.exe 로 실행을 하면
서버가 받고선 보낼때 문제가 생깁니다.
에플릿을 개발툴에서 실행하여 디버그 해보니
에플릿이 받을때 java.io.InvalidClassException 에러가 생기더군요
msdn을 봤더니
Raised when the Serialization runtime detects a problem
with a Class. The class may:
1.not match the serial version of the class in the stream
2.the class contains unknown datatypes
3.the class implements only one of writeObject or readObject methods
4.the class is not public
5.the class does not have an accessible no-arg constructor
이렇게 다섯가지정도의 발생원인이 나오는데 해석도 영 불확실하고..
뾰족한 방법이 안나옵니다. 이런 일을 겪어 보신 님들의 조언을 듣고
싶습니다. 부탁드리겠습니다.