-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
birthData is not accepting the arguments #4
Comments
Which language are you coding and what build system you use? Make sure https://github.com/erajasekar/Astrosoft/blob/master/lib/swisseph.jar is in the classpath. |
I am using Kotlin and Gradle ... |
Since swisseph (also few other jars in libs dir) is not available in maven central. you will need to locally install that jar as dependency in gradle. See Hope that helps. Raja. |
I want to use the calculateAll( ) under the horoscope.java class ,this time I have added all jars locally that were there under AstroSoft lib , below is the error that i am facing : 2018-07-20 16:46:15.526 ERROR 9358 --- [ main] app.astrosoft.pref.AstrosoftPref : Exception in flusing preferences
|
No AstroSoft.jar doesn't contain all it's dependencies.
…On Fri, Jul 20, 2018, 3:39 AM JhaSneha ***@***.***> wrote:
My doubt is if i am including your AstroSoft.jar into my project wouldn't
it include the rest of external jars that you have internally added into
your project
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmaHLX0B5CMhhc38PteSxr9ojC3xfIOks5uIbNEgaJpZM4VWKnf>
.
|
I have shared my github repo link where my code is added above. |
When you launch your app, set the jvm argument |
I have added the jvm argument as you suggested above, still i am facing the issue. java.util.prefs.BackingStoreException: Synchronization failed for node '/app/astrosoft/pref/' Exception in thread "main" java.lang.reflect.InvocationTargetException |
It will be a great help if you can help me with the below error:
Exception in thread "main" java.lang.NoClassDefFoundError: swisseph/SweDate
at app.astrosoft.beans.BirthData.(BirthData.java:62)
at app.astrosoft.beans.BirthData.(BirthData.java:76)
at app.astrosoft.beans.BirthData.(BirthData.java:80)
at com.example.gradle.GradleExternalJar.TestG.sample(GradleExternalJarApplication.kt:66)
at com.example.gradle.GradleExternalJar.GradleExternalJarApplicationKt.main(GradleExternalJarApplication.kt:17)
Caused by: java.lang.ClassNotFoundException: swisseph.SweDate
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
my code is :
val place = Place("Bangalore","Karnataka","India", 25.51, 85.47, 5.30)
val calendar:Calendar=GregorianCalendar(1995, 5, 18, 5, 12, 1)
val birthData = BirthData("Ashwini",calendar,place)
The text was updated successfully, but these errors were encountered: