muhammadnaveed / syncnotes2google

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

Failed to run #100

Open GoogleCodeExporter opened 9 years ago

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

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
lotus notes 7 + win7 + java 1.6

Please provide any additional information below.

D:\app\syncnotes2google-0.0.5>syncnotes2google.bat
线程 "main" 中发生异常java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
        at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: Files.  Program will exit.

sync.properties:
#Google information
# Google account email
google.account.email=xxxxx@gmail.com

# Google account password
google.account.password=xxxxx

# Google calendar name to sync with
google.calendar.name=Calendar

# Google default reminder time
google.calendar.reminderminutes=15

#Notes information
# Notes File/Preferences/Location Preferences.../Servers/'Home/mail server', if 
there are \ in the path replace them with /
notes.domino.server=xxxxx

# Notes File/Preferences/Location Preferences.../Mail/'Mail file', if there are 
\ in the path replace them with /
notes.mail.db.file=mail1/xxxx.nsf

#Sync information
# Valid directions notes-to-google (default), google-to-notes ,bi-direction
sync.direction=notes-to-google

# Number of days (ex. 15d) or month (ex. 2m) back in time, default 14 days
sync.start=14d

# Number of days(ex. 15d) or month (ex. 2m) in the future, default 3 month
sync.end=3m

syncnotes2google.bat:

@echo off
rem The path to the notes installation
set notes-path=D:\app\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/ext/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 issue reported on code.google.com by FM2...@gmail.com on 20 Apr 2012 at 2:05