java_binary no main manifest attribute in jar bazel

117 views
Skip to first unread message

adib.ras...@gmail.com

unread,
Nov 18, 2018, 9:03:37 PM11/18/18
to bazel-discuss
Hello,

I can build my main class without any errors but I cannot execute the jar file. It gives me the following error:

no main manifest attribute in jar

I also provided the main class to the java_binary function in BUILD file.

Any ideas?

Thanks,
Adib

Reply all
Reply to author
Forward
0 new messages