muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

Java exception #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. syncnotes2google.bat
2.
3.

What is the expected output? What do you see instead?
C:\syncnotes2google>syncnotes2google.bat
SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
de.bea.domingo.service.NotesServiceRuntimeException: One of Notes.jar or 
NCSO.ja
r must be in classpath
        at de.bea.domingo.service.NotesServiceFactory.throwWrappedException
(Note
sServiceFactory.java:335)
        at de.bea.domingo.service.NotesServiceFactory.<init>
(NotesServiceFactory
.java:137)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at de.bea.domingo.DNotesFactoryFinder.newInstance
(DNotesFactoryFinder.ja
va:116)
        at de.bea.domingo.DNotesFactoryFinder.find
(DNotesFactoryFinder.java:73)
        at de.bea.domingo.DNotesFactory.newInstance(DNotesFactory.java:155)
        at de.bea.domingo.DNotesFactory.getInstance(DNotesFactory.java:82)
        at com.googlecode.syncnotes2google.Factory.getNotesSession
(Factory.java:
44)
        at com.googlecode.syncnotes2google.Factory.getMailDatabase
(Factory.java:
99)
        at 
com.googlecode.syncnotes2google.dao.NotesCalendarDAO.getFirstEntry(No
tesCalendarDAO.java:39)
        at com.googlecode.syncnotes2google.SyncService.executeSync
(SyncService.j
ava:14)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main
(SyncNotes2Googl
e.java:23)
Caused by: java.lang.NoClassDefFoundError: lotus/domino/NotesException
        at de.bea.domingo.service.NotesServiceFactory.<init>
(NotesServiceFactory
.java:135)
        ... 15 more
Caused by: java.lang.ClassNotFoundException: lotus.domino.NotesException
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 16 more

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Ravi.Hub...@gmail.com on 14 May 2010 at 2:59

GoogleCodeExporter commented 9 years ago
I have exactly the same error with syncnotes2google 0.0.5, we use Notes 
8.0.2FP1 CCH1 in our company. We use Windows Vista 32bit. The notes 
Installation and the Userfiles are not on the same partition. 

syncnotes2google.bat:

@echo off
rem The path to the notes installation
set notes-path=C:\Program Files\IBM\Lotus\Notes
rem The relative path to the Notes.jar from the notes installation. ex. 
Notes.jar or jvm/lib/ext/Notes.jar
set notes-jar=jvm\lib\notes.jar

set cPath=%CLASSPATH%;.\syncnotes2google.jar
set cPath=%cPath%;"%notes-path%\%notes-jar%"
set cPath=%cPath%;.\lib\domingo-1.5.1.jar
set cPath=%cPath%;.\lib\gdata-calendar-2.0.jar
set cPath=%cPath%;.\lib\gdata-calendar-meta-2.0.jar
set cPath=%cPath%;.\lib\gdata-client-1.0.jar
set cPath=%cPath%;.\lib\gdata-client-meta-1.0.jar
set cPath=%cPath%;.\lib\gdata-core-1.0.jar
set cPath=%cPath%;.\lib\gdata-media-1.0.jar
set cPath=%cPath%;.\lib\google-collect-1.0-rc1.jar

set path=%path%;%notes-path%
java -classpath %cPath% com.googlecode.syncnotes2google.SyncNotes2Google

Original comment by tim.enge...@gmail.com on 1 Mar 2011 at 10:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
make sure that in the bat file you specified the correct notes-path and 
notes-jar path
That resolved my issue

set notes-path=C:\Program Files\IBM\Lotus\Notes

set notes-jar=jvm\lib\notes.jar

Original comment by vikramse...@gmail.com on 28 Apr 2011 at 4:53