I have never used jcouchdb, so I do not know if it is relevant: - "id" should be "_id"; - "_design\/twits" should be "_design/twits" or "_design%2Ftwits".
Other questions: What is the output of http://localhost:5984/ and http://localhost:5984/_log ? (assuming your couch is on localhost:5984). How did you install CouchDB? Does document creation from futon ( http://localhost:5984/_utils/ ) works? Marcello 2011/7/8 Eranda Sooriyabandara <[email protected]>: > Hi all, > I got following error when I tried to create a document. What can be the > reason for this exceptio. > > org.jcouchdb.exception.DataAccessException: error creating document > {"id":"_design\/twits","language":"javascript","lists":{},"views":{}}in > database 'TwitApp': code 500 > > thanks > Eranda Sooriyabandara > Blog: http://www.emsooriyabandara.blogspot.com/ > LInkedIn: http://lk.linkedin.com/in/erandasooriyabandara >
