java - NetBeans WebApplication -


i'm working on netbeans webapplication using hibernate. after changing 2 lines of code i've got next error:

ant -f c:\users\user\assignments\assignmentzaposleni -dnb.internal.action.name=debug -ddirectory.deployment.supported=true -dforceredeploy=false -dnb.wait.for.caches=true -dbrowser.context=c:\users\user\assignments\assignmentzaposleni debug c:\users\user\assignments\assignmentzaposleni\nbproject\build-impl.xml:797: libs.copylibs.classpath property not set up. property must point  org-netbeans-modules-java-j2seproject-copylibstask.jar file part of netbeans ide installation , located @  <netbeans_installation>/java<version>/ant/extra folder. either open project in ide , make sure copylibs library exists or setup property manually. example this:  ant -dlibs.copylibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar build failed (total time: 0 seconds) 

before changing code compiling ok without mistake. change in code are:

the code before:

mysql=restrictions.sqlrestriction(upit.substring(upit.indexof("where")));     criteria.add(mysql); 

the code after:

mysql=restrictions.sqlrestriction(upit.substring(upit.indexof("where")));     criteria.add(mysql); list list =session.createcriteria(zaposleni.class).add(mysql).list(); 

when comment change error persists!? can me this? thanks.

maybe have automatic netbeans update , during making changes in java code netbeans made updates , made changes in configuration files. try maybe, can helpfull:

right mouse click on project name/properties/libraries/compile/

if there no "copylibs task" add pressing:

addlibrary, select copylib task , finaly addlibrary/ok.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -