Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Getting dependency errors while starting the server
I am working through the tutorials, 'Developing web applications with Liferay 7.2', getting the following errors.
2021-01-25 17:46:08.939 ERROR
  [fileinstall-C:/Liferay72DXP/liferay-dxp-7.2.10.1-sp1/osgi/modules][LogService:93]
  Error while starting bundle:
  file:/C:/Liferay72DXP/liferay-dxp-7.2.10.1-sp1/osgi/modules/com.liferay.docs.guestbook.api.jar 
org.osgi.framework.BundleException:
  Could not resolve module: com.liferay.docs.guestbook.api [2205]_
   Unresolved requirement: Import-Package:
  com.liferay.portal.kernel.util; version="[9.13.0,10.0.0)"_
  [Sanitized]
    at
  org.eclipse.osgi.container.Module.start(Module.java:444)
    at
  org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1263)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1236)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1225)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)
2021-01-25
  17:46:08.962 ERROR
  [fileinstall-C:/Liferay72DXP/liferay-dxp-7.2.10.1-sp1/osgi/modules][LogService:93]
  Error while starting bundle:
  file:/C:/Liferay72DXP/liferay-dxp-7.2.10.1-sp1/osgi/modules/com.liferay.docs.guestbook.service.jar 
org.osgi.framework.BundleException:
  Could not resolve module: com.liferay.docs.guestbook.service [2206]_
   Unresolved requirement: Import-Package:
  com.liferay.docs.guestbook.exception;
  version="[1.0.0,2.0.0)"_    -> Export-Package:
  com.liferay.docs.guestbook.exception;
  bundle-symbolic-name="com.liferay.docs.guestbook.api";
  bundle-version="1.0.0"; version="1.0.0";
  uses:="com.liferay.portal.kernel.exception"_      
  com.liferay.docs.guestbook.api [2205]_         Unresolved requirement:
  Import-Package: com.liferay.portal.kernel.util;
  version="[9.13.0,10.0.0)"_  Unresolved requirement:
  Import-Package: com.liferay.docs.guestbook.model;
  version="[1.0.0,1.1.0)"_    -> Export-Package:
  com.liferay.docs.guestbook.model;
  bundle-symbolic-name="com.liferay.docs.guestbook.api";
  bundle-version="1.0.0"; version="1.0.0";
  uses:="com.liferay.exportimport.kernel.lar,com.liferay.portal.kernel.annotation,com.liferay.portal.kernel.bean,com.liferay.portal.kernel.model,com.liferay.portal.kernel.model.wrapper,com.liferay.portal.kernel.util"_
  [Sanitized]
    at
  org.eclipse.osgi.container.Module.start(Module.java:444)
    at
  org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1263)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1236)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1225)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515)
  
   at
  org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
  
   at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)