title: An illegal reflective access operation has occurred, Java telegram bot
body: <p>I've been using this <a href="https://github.com/rubenlagus/TelegramBots" rel="nofollow noreferrer">library</a> to try and run a Telegram bot using Java.
  I setup the project using Gradle in order to use the dependencies.</p>
  
  <p>My project hierarchy is as follows:</p>
  
  <pre><code>.gradle
  build
  gradle
  src
   -main
    -java
     -Main.java
     -MyAmazingBot.java
  build.gradle
  gradlew
  gradlew.bat
  </code></pre>
  
  <p>This is the <a href="https://spring.io/guides/gs/gradle/" rel="nofollow noreferrer">guide</a> I used to setup up Gradle. I used the Gradle Wrapper to get my build running.</p>
  
  <p>However, I get the following warning: </p>
  
  <pre><code>WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/addis/.gradle/caches/modules-2/files-2.1/com.google.inject/guice/4.1.0/eeb69005da379a10071aa4948c48d89250febb07/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
  WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  </code></pre>
  
  <p>Yet the bot runs fine (it echoes my messages back). </p>
  
  <p>1) Should this message be a cause for concern?</p>
  
  <p>2) Is it possible to run the jar file using <code>java -jar</code>? I get a message <code>no main manifest attribute, in .\build\libs\fsc2.jar</code></p>
  
  <p>3) Is it possible to run <code>./gradlew run</code> without using Gradle's wrapper?</p>