artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Completions for a simple arraylist. But nothing shows up.

artur-shaik opened this issue · comments

Hey,
i had the same problem but when i commented out the corresponding line i still dont get the plugin to work. My Setup is the following:
OS: Ubuntu 19.04
VIM: 8.1 (with python3 supported)
JDK: 1.8

Server is running correctly as far as i can tell (at least :JCserverShowPID responds with some number)

When enabling the Logger i get the following result:

354.839662 [server] executing python file: /home/klamroth/.vim/bundle/vim-javacomplete2/autoload/javavibridge.py
  9 354.852271 [server] server classpath: -cp /home/klamroth/.vim/bundle/vim-javacomplete2/libs/javavi/target/classes:/home/klamroth/.vim/bundle/vim-javacomplete2/libs/javaparser-core-3.5.20.jar:/home/kla    mroth/.vim/bundle/vim-javacomplete2/libs/javavi_log4j-api.jar:/home/klamroth/.vim/bundle/vim-javacomplete2/libs/javavi_log4j-core.jar:.:/usr/lib/jvm/java-8-openjdk-amd64/lib
  8 354.852305 [server] server arguments:-Ddaemon.port=48589 -Dlog4j.configurationFile=/home/klamroth/.vim/bundle/vim-javacomplete2/libs/javavi/target/classes/log4j2.xml kg.ash.javavi.Javavi -sources  -ba    se /home/klamroth/.cache/javacomplete2/ -compiler javac
  7 408.632794 [context] context: CONTEXT_AFTER_DOT
  6 408.632834 [context] dot expression: l.
  5 408.632907 [complete] complete after dot. expr: l.
  4 408.633311 [collector] get declared class name for: "l"
  3 408.642717 [complete] F3. "l.|"  typename: "ArrayList<String>"
  2 408.642774 [collector] get class info. class: ArrayList<String>
  1 408.654274 [server] communicate: -E "java.util.ArrayList<(String|java.lang.String|java.lang.Object)>" [collector#FetchInfoFromServer]
20  409.312760 [server]

when trying to get completions for a simple arraylist. But nothing shows up. Any ideas on what im doing wrong?

Originally posted by @JonasKlamroth in #400 (comment)