Team"jar" does not create .class files, it is intended to create a package. Therefore, you must first compile the source files, and then use the jar command.
In addition, you may need to add the files you want to include as parameters (s), something like
jar cvf myapp.war *
To add all files.