down votefavorite 
<http://stackoverflow.com/questions/40497841/python-call-java-causes-error-could-not-find-or-load-main-class#>

Hi,

I am having issues to use the java program 
https://github.com/antonydeepak/ResumeParser/ in Django project in a 
localserver in MAC OS.

I have installed ResumeParser in the Django Project like:

-- Django Project

   -- app1

   -- app2

   -- ResumerParser

Here is my code but it says "Could not find or load main class".

if form.is_valid():
    f = form.save(commit=False)

    resume = form.cleaned_data['resume']

    cmd = ['java', '-cp', 
'bin/:../GATEFiles/lib/:../GATEFiles/bin/gate.jar:lib/*', 
'code4goal.antony.resumeparser.ResumeParserProgram %s textOutput.json' % resume]

    subprocess.Popen(cmd)

Any clues of how to solve this? I've tried every post related to this theme 
in StackOverflow no success.

Thanks in advance

Thread: 
http://stackoverflow.com/questions/40497841/python-call-java-causes-error-could-not-find-or-load-main-class


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/de626518-eb61-4795-8042-1e1c6abab1d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to