eclipse - java.lang.NoClassDefFoundError: javax/mail/Authenticator - causing fxml page not to load -


i restructuring question - edited question.

when log in program , double click on item in tableview not getting @ on new tab supposed pop up. main.fxml shows fine, meaning maincontroller seems working well, image:

enter image description here

when double click on row should like:

enter image description here

but happening:

enter image description here

to show how code called, works great in .java form, when compiled breaks:

tab tab = new tab();     tabs.gettabs().add(tab);     tab.settext(tableview.getselectionmodel().getselecteditem().getdescription());     // loads instantiated version of item.fxml resource     fxmlloader loader = new fxmlloader(getclass().getclassloader().getresource("fxml/item.fxml"));     tab.setcontent((node) loader.load());      date = datelbl.gettext();     time = timelbl.gettext();     user = userlbl.gettext();      singleselectionmodel<tab> selectionmodel = tabs.getselectionmodel();     selectionmodel.select(tab);     // creates itemcontroller object , passes through results of database query , stores them variables in itemcontroller, sets database aseptic     itemcontroller controller = loader.<itemcontroller>getcontroller();     controller.settextitems(id, manufacturer_name, model_number, vendor_name, vendor_part_number, tolmar_part_number, part_location, price, quantity, min, max, img, equipment_group, equipment_id, additional_notes, description);     controller.setuservariables(user, time, date);     controller.setdbstate(aseptic); 

as can see in bottom right corner of second image (the way program should open when double click row), can add or remove items. when item hits minimum auto generates email letting me know how many more need order. believe functionality not working , possibly causing whole page not load? have reviewed others similar questions , have tried suggested no luck, added mail.jar , activation.jar files , added them pom (see below). feel getting pretty close getting code work in real world, please help, thanks!

<dependency>     <groupid>javax.mail</groupid>     <artifactid>mail</artifactid>     <version>1.4</version> </dependency> <dependency>     <groupid>javax.activation</groupid>     <artifactid>activation</artifactid>     <version>1.1</version> </dependency> 

it working properly, changed version of javax.mail dependency 1.4 1.4.1 , good.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -